训练题解
文章平均质量分 70
my1995
不要小看一点一滴。。。
今天的我,明天的你
展开
-
SGU144
Description Two of the three members of the winning team of one of the ACM regional contests are going to meet in order to train for the upcoming World Finals. They decided that they will meet so原创 2014-07-25 10:24:09 · 408 阅读 · 0 评论 -
codeforces 416B
B. Art Union time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A well-known art union called "Kalevich is Aliv原创 2014-07-25 12:51:03 · 379 阅读 · 0 评论 -
POJ3253 Fence Repair
http://poj.org/problem?id=3253原创 2014-07-25 10:45:34 · 359 阅读 · 0 评论 -
SGU130 Circle
130. Circle time limit per test: 0.25 sec. memory limit per test: 4096 KB On a circle border there are 2k different points A1, A2, ..., A2k, located contiguously. These points connect k chor原创 2014-07-25 11:41:14 · 363 阅读 · 0 评论 -
SGU 126 Boxes
题意 有两个盒子,一个里面有a个球,另一个有b个球。现在请你把其中一个盒子的球转移到另一个去,转移的数目是另一个盒子里球的个数。 现在问你几次能把所有球转移到一个盒子里。 分析 2k=(a+b)/gcd(a,b),k即为答案 具体怎么证得?我再研究研究0.0 代码原创 2014-07-25 11:20:53 · 361 阅读 · 0 评论