Codeforces Round #581 (Div. 2)

比赛连接:http://codeforces.com/contest/1204ios A. BowWow and the Timetable 题意:给你一个二进制数,求有多少个4的幂次方小于这个数。数组 思路:因为2^2=4,所以能够经过二进制的位数来判断答案。详情见代码。spa 代码:code #include <iostream> #include <string> using names
相关文章
相关标签/搜索