摘要:
很好的求幂方法。值得学习一下#include #include #include #include #include #include #include #include #include #include #include using namespace std;int main(){ int a... 阅读全文
posted @ 2014-03-22 18:55
子田力亥
阅读(267)
评论(0)
推荐(0)
摘要:
The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F... 阅读全文
posted @ 2014-03-22 17:27
子田力亥
阅读(119)
评论(0)
推荐(0)
摘要:
Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km.Input Specifi... 阅读全文
posted @ 2014-03-22 17:21
子田力亥
阅读(143)
评论(0)
推荐(0)
摘要:
Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to c... 阅读全文
posted @ 2014-03-22 17:06
子田力亥
阅读(116)
评论(0)
推荐(0)

浙公网安备 33010602011771号