摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1097只考虑最后一位即可。 因为(0int main(){ int power(int a,int b); int a,b; int i; int ans; while(scanf("%d%d",&a,&b)... 阅读全文
摘要:
Adjacent Bit Counts时间限制:1000 ms | 内存限制:65535 KB难度:4描述For a string of n bits x1, x2, x3, …, xn, the adjacent bit count of the string is given by fun(x)... 阅读全文
摘要:
Problem DescriptionA histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but m... 阅读全文