2012年7月14日

NYOJ 412 Same binary weight

摘要: 描述The binary weight of a positive integer is the number of 1's in its binary representation.for example,the decmial number 1 has a binary weight of 1,and the decimal number 1717 (which is 11010110101 in binary) has a binary weight of 7.Give a positive integer N,return the smallest integer greate 阅读全文

posted @ 2012-07-14 15:46 L_S_X 阅读(188) 评论(0) 推荐(0) 编辑

导航