ACM試題An Easy Problem Description As we known, data stored in the computers is in binary form. The problem we discuss now is about the positive integers and its binary form. Given a positive integer I, you task is to find out an integer J, which is the minimum integer greater than I, and the number of 1 s in whose binary form is the same as that in the binary form of I. For example, if "78" is given, we can write out its binary form, "1001110". This binary form has 4 1 s. The minimum integer, which is greater than "1001110" and also contaINS 4 1 s, is "1010011", i.e. "83", so you should output "83".
標簽: Description computers Problem binary
上傳時間: 2013-12-11
上傳用戶:libenshu01
These files contain all of the code listings in Java: The Complete Reference, J2SE 5 Edition The source code is organized into files by chapter. For example, the file Chap7.code contaINS the programs shown in Chapter 7. Within each chapter file, the listings are stored in the same order as they appear in the book. Simply edit the appropriate file to extract the listing in which you are interested.
標簽: Reference Complete listings Edition
上傳時間: 2013-12-18
上傳用戶:diets
The Spectral Toolkit is a C++ spectral transform library written by Rodney James and Chuck Panaccione while at the National Center for Atmospheric Research between 2002 and 2005. The library contaINS a functional subset of FFTPACK and SPHEREPACK, including real and complex FFTs in 1-3 dimensions, and a spherical harmonic transform. Multithreading is supported through POSIX threads for the multidimensional transforms. This reference guide provides details of the public interface as well as the internal implementation of the library.
標簽: Panaccion transform Spectral spectral
上傳時間: 2013-12-20
上傳用戶:haoxiyizhong
一個開源heml語意分析器 ekhtml: The El-Kabong HTML parser SUMMARY: El-Kabong: A speedy, yet forgiving, SAX-stylee HTML parser. PROJECT INFORMATION: Web Site: ekhtml.sourceforge.net The web site contaINS links to locations where one can: - file bugs - join mailing lists - download the latest release - browse documentation - get CVS information BUILDING: See the file INSTALL for information、目標代碼生成、符號表的構造和運行時存儲空間的組織等8部分組成。
標簽: El-Kabong forgiving SUMMARY ekhtml
上傳時間: 2014-12-08
上傳用戶:dapangxie
This project does not contain a full, runnable application program. Instead, the only package ope.account contaINS two classes which represent basic bank customer and account information.
標簽: application runnable Instead project
上傳時間: 2013-12-25
上傳用戶:許小華
The project Adventure is a simple text-based adventure game. The game, as given, involves the hero trying to find his way from a deep dark forest to home and his true love. There s very little else the player can do apart from moving from place to place. It s not really very interesting. This project can be of use beyond the given, rather boring forest adventure though. You can use it as a basis for developing your own adventure game with different, more interesting commands, areas, items, people and so on. The package ope.adventure contaINS classes to describe the game world.
標簽: game text-based The Adventure
上傳時間: 2014-01-15
上傳用戶:cursor
This project does not contain a full, runnable application program. Instead, the only package ope.football contaINS two classes to represent match data for football (and possibly other team sports).
標簽: application runnable Instead project
上傳時間: 2015-09-03
上傳用戶:zhaiyanzhong
CarSim is an application for the simulating the (simplified) movement of cars on a two-dimensional surface. Package ope.carsim contaINS classes that represent the problem domain: cars and locations. Package ope.carsim.gui contaINS a user interface for the application.
標簽: two-dimensional application simulating simplified
上傳時間: 2013-12-22
上傳用戶:gaome
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contaINS two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標簽: Implemented following compile command
上傳時間: 2014-01-01
上傳用戶:lhc9102
Introduction to the MSN Messenger Activity SDK --- --- --- --- --- --- --- --- --- --- --- --- --- -- The MSN® Messenger Activity software development kit (SDK) contaINS technical information about how to develop and test single-user and multiuser applications by using the Activity object model. The SDK also provides detailed information about the MSN development and testing requirements that your Activity must meet, and how to increase the usage of your MSN Messenger Activity application.
標簽: Introduction Messenger Activity the
上傳時間: 2015-09-06
上傳用戶:ruan2570406