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
ACM试题Problem K:Ones Description Given any integer 0 <= n <= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1 s. How many digits are in the smallest such a multiple of n?
标签: Description divisible Problem integer
上传时间: 2015-08-23
上传用户:zhenyushaw
* DESCRIPTION: DDS design BY PLD DEVICES. * * AUTHOR: Sun Yu * * HISTORY: 12/06/2002 *
标签: DESCRIPTION DEVICES HISTORY AUTHOR
上传时间: 2014-01-22
上传用户:xlcky
* DESCRIPTION: DDS design BY PLD DEVICES. * * AUTHOR: Sun Yu * * HISTORY: 12/06/2002 *
标签: DESCRIPTION DEVICES HISTORY AUTHOR
上传时间: 2014-01-13
上传用户:zuozuo1215
* DESCRIPTION: DDS design BY PLD DEVICES. * * AUTHOR: Sun Yu * * HISTORY: 12/06/2002 *
标签: DESCRIPTION DEVICES HISTORY AUTHOR
上传时间: 2013-12-29
上传用户:asddsd
DESCRIPTION : 0.2S级三相电子式电能表
标签: DESCRIPTION 0.2 三相 电子式
上传时间: 2013-12-22
上传用户:aysyzxzm
DESCRIPTION : 0.2S级三相电子式电能表头文件
标签: DESCRIPTION 0.2 三相 电子式
上传时间: 2015-08-27
上传用户:362279997
full description for book -USB in a nutshe
标签: description nutshe full book
上传时间: 2015-08-28
上传用户:qunquan
Description: Library routines for the M25P05A, M25P10A, M25P20, M25P40, M25P80, M25P16, M25P32, M25P64 Serial Flash Memories
标签: 25 Description routines Library
上传时间: 2014-08-22
上传用户:jhksyghr
/** * <p>Title: 个人开发的API</p> * <p>Description: 将指定的HTTP网络资源在本地以文件形式存放</p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: NewSky</p> * @author MagicLiao * @version 1.0 */
标签: lt gt Description Title
上传时间: 2013-12-28
上传用户:lhc9102