9456. Clumsy Cows
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Bessie the cow is trying to type a balanced string of parentheses into her new laptop, but she is s...
分类:
其他好文 时间:
2015-03-30 09:22:36
阅读次数:
179
1426. Phone List
Constraints
Time Limit: 1 secs, Memory Limit: 64 MB
Description
Given a list of phone numbers, determine if it is consistent in the sense that no number is the pre?x...
分类:
其他好文 时间:
2015-03-30 09:21:57
阅读次数:
182
1299. Academy Awards
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
Selected from 3,850 teams from 1,329 universities in 68 countries competing at 106 sites and prel...
分类:
其他好文 时间:
2015-03-30 09:21:43
阅读次数:
113
1764. 立体图
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
小渊是个聪明的孩子,他经常会给周围的小朋友们讲些自己认为有趣的内容。最近,他准备给小朋友们讲解立体图,请你帮他画出立体图。
小渊有一块面积为m*n的矩形区域,上面有m*n个边长为1的格子,每个格子上堆了一些同样...
分类:
其他好文 时间:
2015-03-30 09:21:14
阅读次数:
168
1763. 传球游戏
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
上体育课的时候,小蛮的老师经常带着同学们一起做游戏。这次,老师带着同学们一起做传球游戏。
游戏规则是这样的:n个同学站成一个圆圈,其中的一个同学手里拿着一个球,当老师吹哨子时开始传球,每...
分类:
其他好文 时间:
2015-03-30 09:21:04
阅读次数:
159
1422. Table Tennis
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
There is a rectangular pool table ABCD with side lengths m and n, where m and n are integers with m...
分类:
其他好文 时间:
2015-03-30 09:20:57
阅读次数:
179
1781. Knight
Constraints
Time Limit: 1 secs, Memory Limit: 64 MB
Description
Your task is to write a program to calculate the minimum number of moves needed for a knight to reach one...
分类:
其他好文 时间:
2015-03-30 09:20:25
阅读次数:
146
1936. Knight Moves
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the s...
分类:
其他好文 时间:
2015-03-30 09:20:21
阅读次数:
121
10330. Cutting Sausages
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Mirko has given up on the difficult coach job and switched to food tasting instead. Having sk...
分类:
其他好文 时间:
2015-03-30 09:20:14
阅读次数:
169
1893. Sell Ticket
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
One day, little pig wants to go to the park for fun. He has just one piece of five dollar and luckil...
分类:
其他好文 时间:
2015-03-30 09:18:53
阅读次数:
142