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