原创 zoj 1251 Box of Bricks

Box of Bricks Time Limit: 2 Seconds      Memory Limit: 65536 KB Little Bob likes playing with his box of bricks. He put

原创 zoj 1383 Binary Numbers

Binary Numbers Time Limit: 2 Seconds      Memory Limit: 65536 KB Given a positive integer n, print out the positions of

原创 UVa 10935 Throwing cards away 1

Throwing cards away I Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status De

原创 UVa 227 Puzzle

Puzzle A children’s puzzle that was popular 30 years ago consisted of a 5x5 frame which contained 24 small squares

原创 UVa 10763 Foreign Exchange

Problem E Foreign Exchange Input: standard inputOutput: standard outputTime Limit: 1 second Your non-profit organizati

原创 UVa 10340 All in all

All in All Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB You have dev

原创 UVa 1587 Box

Box Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Description Ivan works at a fact

原创 UVa 202 Repeating Decimals

Repeating Decimals The decimal expansion of the fraction 1/33 is tex2html_wrap_inline43 , where the tex2html_wrap_i

原创 UVa 1593 Alignment of Code

Alignment of Code Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Descri

原创 UVa 1594 Ducci Sequence

Ducci Sequence Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Descripti

原创 zoj 2423 Fractal

Fractal Time Limit: 2 Seconds      Memory Limit: 65536 KB A fractal is an object or quantity that displays self-similar

原创 zoj 1241 Geametry Made Simple

Geometry Made Simple Time Limit: 2 Seconds      Memory Limit: 65536 KB Mathematics can be so easy when you have a compu

原创 UVa 232 Crossword Answers

232 - Crossword Answers Time limit: 3.000 seconds  A crossword puzzle consists of a rectangular grid of black and whi

原创 zoj 1242 Carbon Dating

Carbon Dating Time Limit: 2 Seconds      Memory Limit: 65536 KB Until the second half of the 20th century, determining

原创 zoj 1037 Gridland

Gridland Time Limit: 2 Seconds      Memory Limit: 65536 KB Background For years, computer scientists have been trying t