摘要: A + B for you againTime Limit : 5000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 30Accepted Submission(s) : 9Problem DescriptionGenerally speaking, there are a lot of problems about strings processing. Now you encounter another such problem. If you get two string 阅读全文
posted @ 2013-04-19 17:40 Jack Ge 阅读(481) 评论(0) 推荐(0)
摘要: Escape from TetrisTime Limit : 12000/4000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 11Accepted Submission(s) : 5Problem Description由于整日整夜地对着这个棋盘,Lele终于走火入魔。每天一睡觉,他就会梦到自己会被人被扔进一个棋盘中,一直找不到出路,然后从梦中惊醒。久而久之,Lele被搞得精神衰弱。梦境是否会成为现实,谁也说不准,不过不怕一万只怕万一。现在Lele每次看到一个棋盘,都会想象一下自己被关 阅读全文
posted @ 2013-04-19 15:33 Jack Ge 阅读(377) 评论(0) 推荐(0)
摘要: Tobo or not ToboTime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 9Accepted Submission(s) : 6Problem DescriptionThe game of Tobo is played on a plastic board designed into a 3 × 3 grid with cells numbered from 1 to 9 as shown in figure (a). The g 阅读全文
posted @ 2013-04-19 14:56 Jack Ge 阅读(446) 评论(0) 推荐(0)
摘要: 无题ITime Limit : 10000/10000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 16Accepted Submission(s) : 8Problem Description一天机器人小A在玩一个简单的智力游戏,这个游戏是这样的,在一个4*4的矩阵中分别有4个1,4个2,4个3和4个4分别表示4种不同的东西,每一步小A可以把同一行的4个数往左移或者往右移一步或者把同一列的4个数字往上移或者往下移一步(1,2,3,4往左移后是2,3,4,1),小A现在想知道进过最少的几 阅读全文
posted @ 2013-04-19 14:12 Jack Ge 阅读(375) 评论(0) 推荐(0)
摘要: The Rotation GameTime Limit : 45000/15000ms (Java/Other)Memory Limit : 150000/150000K (Java/Other)Total Submission(s) : 7Accepted Submission(s) : 6Problem DescriptionThe rotation game uses a # shaped board, which can hold 24 pieces of square blocks (see Fig.1). The blocks are marked with symbols 1, 阅读全文
posted @ 2013-04-19 12:53 Jack Ge 阅读(930) 评论(0) 推荐(0)
摘要: PuzzleTime Limit : 6000/3000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 15Accepted Submission(s) : 8Problem DescriptionOne day, Resty gets a very interesting puzzle. Eve said that she will make a cake for Resty if he solved this puzzle, so Resty asks you to help him 阅读全文
posted @ 2013-04-19 11:49 Jack Ge 阅读(419) 评论(0) 推荐(0)