摘要:
C. Equal Sums time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Equal Sums time limit p 阅读全文
摘要:
D - Card Eater Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement Snuke has decided to play a game using cards. He has a de 阅读全文
摘要:
B. High School: Become Human time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Year 2118. A 阅读全文
摘要:
题目链接http://codeforces.com/contest/987 C. Three displays time limit per test 1 second memory limit per test 256 megabytes input standard input output s 阅读全文
摘要:
CONTINUE...? DreamGrid has classmates numbered from to . Some of them are boys and the others are girls. Each classmate has some gems, and more specif 阅读全文
摘要:
题目简述:就是给一个数,把他拆分成多个素数的乘积,这正好是算术基本定理。本题我的解决方法是埃氏素数筛+质因数保存。。。开始T掉了,是因为我在最后枚举了素数,保存他们的次数,然后两次for去查询他们的次数这样需要遍历前面所有素数。显的十分浪费时间,因为如果给的数非常大,并且次数小的次数很多那么我们外面 阅读全文