【杭电-oj】-1196-二进制截止到非零位转换为十进制
Problem Description
Given an positive integer A (1
For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2.
Another example
原创
2016-03-31 18:00:10 ·
480 阅读 ·
0 评论