摘要:
Biorhythms时间限制:1000ms | 内存限制:65535KB难度:3描述Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles, and they have periods of lengths 23, 28, and 33 days, respectively. There is 阅读全文
posted @ 2012-08-14 12:09
luosw
阅读(140)
评论(0)
推荐(0)
摘要:
求余数时间限制:1000ms | 内存限制:65535KB难度:3描述现在给你一个自然数n,它的位数小于等于一百万,现在你要做的就是求出这个数除10003之后的余数输入第一行有一个整数m(1<=m<=8),表示有m组测试数据;随后m行每行有一个自然数n。输出输出n整除10003之后的余数,每次输出占一行。样例输入345465456541样例输出456948View Code #include <iostream>#include <cstring>#include <cstdio>using namespace std;char s[100000 阅读全文
posted @ 2012-08-14 09:48
luosw
阅读(122)
评论(0)
推荐(0)

浙公网安备 33010602011771号