acm中的一道关于财产继承问题的源代码,希望大家能喜欢,有不足之处还请大家批评指正!
上传时间: 2014-01-07
上传用户:xiaohuanhuan
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
我们acm的一道题,程序实现上简单,但得要有数学理论作依据
标签: acm
上传时间: 2014-11-26
上传用户:fxf126@126.com
我们acm的题目,有时间就看看,没时间就过吧
标签: acm
上传时间: 2013-11-30
上传用户:小草123
pku acm竞赛专用,含有多种算法的解题报告,程序员提高自身水平可以参考,会极大地提高编程功力
上传时间: 2015-08-24
上传用户:WMC_geophy
平时acm训练时ac的源代码,有一定的参考价值
上传时间: 2015-08-25
上传用户:dengzb84
同济大学ACM题库TJU1127的题解代码.
上传时间: 2014-01-26
上传用户:qunquan
同济大学ACM题库TJU1103的题解代码.深度优先搜索的一个好例子.
上传时间: 2014-02-17
上传用户:qq1604324866
同济大学ACM题库TJU1242的题解源码.
上传时间: 2013-12-09
上传用户:xwd2010