2501. 算算式
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
_gXX遇到一个麻烦的式子:
S = n1 + n2 + n3 + ...... + nk,已知n、k,求S的值。
因为_gXX数学很差,希望你能告诉他答案。但是由于他的数学实在太差了,所以你只需要告诉...
分类:
其他好文 时间:
2015-03-30 09:20:14
阅读次数:
139
2368. Penney Game
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Penney's game is a simple game typically played by two players. One version of the game calls f...
分类:
其他好文 时间:
2015-03-30 09:20:03
阅读次数:
149
9016. Pablo Squarson's Headache
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Pablo Squarson is a well-known cubism artist. This year's theme for Pab...
分类:
其他好文 时间:
2015-03-30 09:18:53
阅读次数:
148
4313. Boys and Girls
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
There
are N boys and N girls
at a dance party. We have measured their heights. Each boy will...
分类:
其他好文 时间:
2015-03-30 09:18:35
阅读次数:
112
9017. Amazing Mazes
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
You are requested to solve maze problems. Without passing through these mazes, you ...
分类:
其他好文 时间:
2015-03-30 09:18:21
阅读次数:
188
9562. SUME
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Once upon a time, there existed a sequence A consisting of N positive integers. You don't know the sequenc...
分类:
其他好文 时间:
2015-03-30 09:18:21
阅读次数:
110
7143. Treasure
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
One day, MXWai found a treasure map. The map was
divided into 2^n * 2^n grids. The top left corner w...
分类:
其他好文 时间:
2015-03-30 09:18:14
阅读次数:
110
7151. 1758!
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
1758 is coming! Some boys want to find
their dancing partners. For convenience, you may assume the squa...
分类:
其他好文 时间:
2015-03-30 09:16:52
阅读次数:
122
1305. Who’s Winner?
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
Nic and Susan play the game of multiplication by multiplying an integer p by one of the numbers 2 ...
1345. 能量项链
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
在Mars星球上,每个Mars人都随身佩带着一串能量项链。在项链上有N颗能量珠。能量珠是一颗有头标记与尾标记的珠子,这些标记对应着某个正整数。并且,对于相邻的两颗珠子,前一颗珠子的尾标记一定等于后一颗珠子的头标记。...
分类:
其他好文 时间:
2015-03-29 13:46:04
阅读次数:
136