摘要:
Legal or Not Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6543 Accepted Submission(... 阅读全文
摘要:
使用标准库的栈和队列时,先包含相关的头文件 #include #include 定义栈如下: stack stk; 定义队列如下: queue q; 栈提供了如下的操作 s.empty() 如果栈为空返回true,否则返回false s.size... 阅读全文
摘要:
Frogger Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14821 Accepted: 4902 Description Freddy Frog is sitting on a s... 阅读全文
摘要:
欧拉函数: 设oula(i)为i对应的欧拉函数值,那么oula(i)=i*(1-1/p1)*(1-1/p2)*(1-1/p3)*……*(1-1/pn)(这是定理,我们也不需要去推导了。。大师推出来的结果比我们准确得多,会用就行) 其中,p1,p2,p3,……,pn为i的素因子,就是将i素因子分解... 阅读全文
摘要:
A. Start Up time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Recently, a st... 阅读全文
摘要:
A. Elimination time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The finalis... 阅读全文
摘要:
A. Mashmokh and Numbers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output ... 阅读全文
摘要:
第一次做出来第三题表示弱有点小兴奋! Numbers Accepts: 556 Submissions: 1486 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Ot... 阅读全文
摘要:
A. Data Recovery time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Not so lo... 阅读全文
摘要:
A. Poster time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The R1 company h... 阅读全文