cf #309a A - Kyoya and Photobooks
2015-08-02 · 0 min readhdu 5234 (bc #42 C)Happy birthday(dp)
2015-08-01 · 0 min readCollision Detection
**Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1207 Accepted Submission(s): 367 **
Problem Description
In physical simulations, video games and computational geometry, collision detection involves algorithms for checking for …
阅读更多Gunner II
**Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1433 Accepted Submission(s): 540 **
Problem Description
Long long ago, there was a gunner whose name is Jack. He likes to go hunting very much. One day he go to the grove. There are n birds and n …
阅读更多pog loves szh II
**Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 2115 Accepted Submission(s): 609
**Problem Description
Pog and Szh are playing games.There is a sequence with n numbers, Pog will choose a number A from the sequence. Szh will choose an another …
阅读更多455. Sequence analysis
比赛的时候逗了,往看空间限制了....
直接开了个set判重。。。显然MLE 了。。。
然后这道题的正解是 floyd判圈算法(也叫龟兔算法?)
http://www.cnblogs.com/oyking/p/4286916.html 这份题解讲得很详细
阅读更多简单模拟,n,m貌似给反了(两个地方给的不一致 ) 害我wa了两发
1 2 /************************************************************************* 3 > File Name: code/2015summer/#5/K.cpp 4 > Author: 111qqz 5 > Email: rkz2013@126.com 6 > Created Time: 2015年07月30日 星期四 14时00分56秒 7 …
阅读更多SGU 456 Annuity Payment Scheme
2015-07-30 · 1 min read水题,推个公式出来,注意精度...一遍A
1 2 /************************************************************************* 3 > File Name: code/2015summer/#5/D.cpp 4 > Author: 111qqz 5 > Email: rkz2013@126.com 6 > Created Time: 2015年07月30日 星期四 13时17分26秒 7 …
阅读更多