
zoj
bfcx
这个作者很懒,什么都没留下…
展开
-
【ZOJ - 2967】Colorful Rainbows (栈)
Colorful RainbowsTime Limit:2 Seconds Memory Limit:65536 KBEvelyn likes drawing very much. Today, she draws lots of rainbows on white paper of infinite size, each using a different color. S...原创 2019-03-05 10:11:36 · 225 阅读 · 0 评论 -
【ZOJ - 1163】The Staircases(dp)
The StaircasesTime Limit:2 Seconds Memory Limit:65536 KBOne curious child has a set of N little bricks. From these bricks he builds different staircases. Staircase consists of steps of diff...原创 2019-03-08 15:07:40 · 324 阅读 · 0 评论 -
【ZOJ - 3057】Beans Game (博弈dp)
There are three piles of beans. TT and DD pick any number of beans from any pile or the same number from any two piles by turns. Who get the last bean will win. TT and DD are very clever.Input...原创 2019-03-17 12:02:45 · 227 阅读 · 0 评论 -
【ZOJ - 3605】Find the Marble (dp)
Alice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice puts the pots in one line and puts the marble in one of the pots. After th...原创 2019-03-22 11:21:34 · 202 阅读 · 0 评论 -
【ZOJ - 3286】Very Simple Counting (打表)
Let f(n) be the number of factors of integern.Your task is to count the number of i(1 <= i <n) that makes f(i) = f(n).InputOnenper line (1 <n<= 1000000).There are 10000 lines...原创 2019-04-14 20:56:41 · 233 阅读 · 0 评论 -
【 ZOJ- 3865】Superbot(BFS)
Superbotis an interesting game which you need to control the robot on anN*Mgrid map.As you see, it's just a simple game: there is a control panel with four direction left (1stposition), right ...原创 2019-04-30 22:48:03 · 245 阅读 · 0 评论