摘要:
Geometric Sum时间限制:1000ms | 内存限制:65535KB难度:3描述Compute (a + a^2 + … + a^n) mod m.(a+a2+…an)mod输入Three integers a,n,m.(1≤a,n,m≤10^18)It ends with EOF.输出T... 阅读全文
摘要:
Find the maximumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 1561Accepted Submission(s): 680Pro... 阅读全文
摘要:
CalculationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1414Accepted Submission(s): 291Problem ... 阅读全文
摘要:
GCCTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3628Accepted Submission(s): 1186Problem Descr... 阅读全文
摘要:
Treasure Hunt IVTime Limit:2 Seconds Memory Limit:65536 KBAlice is exploring the wonderland, suddenly she fell into a hole, when she woke up, she foun... 阅读全文
摘要:
Switch GameTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10200Accepted Submission(s): 6175Proble... 阅读全文
摘要:
Binary Stirling NumbersTime Limit:1000MSMemory Limit:10000KTotal Submissions:1761Accepted:671DescriptionThe Stirling number of the second kind S(n, m)... 阅读全文
摘要:
Saving BeansTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2079Accepted Submission(s): 748Problem... 阅读全文
摘要:
DP?Time Limit: 10000/3000 MS (Java/Others)Memory Limit: 128000/128000 K (Java/Others)Total Submission(s): 1804Accepted Submission(s): 595Problem Descr... 阅读全文
摘要:
N!时间限制:1000ms | 内存限制:65535KB难度:3描述阶乘(Factorial)是一个很有意思的函数,但是不少人都比较怕它。现在这里有一个问题,给定一个N(0 2 3 int main() 4 { 5 int n,s; 6 while(scanf("%d",&n)>0... 阅读全文