分类: poj题解

61 篇文章

poj 1067 取石子游戏 威佐夫博弈论
取石子游戏 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 42383 Accepted: 14361 Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时…
poj 1012 Joseph
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…
poj 2312 Battle City
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 …
poj 1028 Web Navigation
Web Navigation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 34423 Accepted: 15368 Description Standard web browsers contain features to move backward and forward…
poj sticks DFS
木棒 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 147207 Accepted: 34876 Description 乔治拿来一组等长的木棒,将它们随机地砍断,使得每一节木棍的长度都不超过50个长度单位。然后他又想把这些木棍恢复到为裁截前的状态,但忘记了初始时有多少木棒以及…