Description The cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze facing zombies, chainsaw-wielding psychopaths, hi…
单点修改,区间查询 hdu1754 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn = 533333; int tree[maxn…
Remmarguts' Date Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 31439 Accepted: 8577 Description "Good man never makes girls wait or breaks an appointment!" said t…
取石子游戏 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 42383 Accepted: 14361 Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时…
Joseph Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 54768 Accepted: 20954 Description The Joseph's problem is notoriously known. For those who are not familiar w…
Count Color Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 46856 Accepted: 14193 Description Chosen Problem Solving and Program design as an optional course, you a…
Battle City Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9170 Accepted: 3043 Description Many of us had played the game "Battle city" in our childhood, and some …
Web Navigation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 34423 Accepted: 15368 Description Standard web browsers contain features to move backward and forward…
Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 38775 Accepted: 10197 Description Background Hugo Heavy is happy. After the breakdown of the Ca…
木棒 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 147207 Accepted: 34876 Description 乔治拿来一组等长的木棒,将它们随机地砍断,使得每一节木棍的长度都不超过50个长度单位。然后他又想把这些木棍恢复到为裁截前的状态,但忘记了初始时有多少木棒以及…