摘要:
Cube paintingWe have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of ... 阅读全文
摘要:
Power of CryptographyBackgroundCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers modulo f... 阅读全文
摘要:
Problem A.Ant on a ChessboardBackgroundOne day, an ant called Alice came to an M*M chessboard. She wanted to go around all the grids. So she began to ... 阅读全文
摘要:
The Mad NumerologistTime limit: 3.000 secondsNumerology is a science that is used by many people to find out a mans personality, sole purpose of life,... 阅读全文
摘要:
487-3279Time limit: 3.000 secondsBusinesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell... 阅读全文
摘要:
Searching QuicklyTime limit: 3.000 secondsBackgroundSearching and sorting are part of the theory and practice of computer science. For example, binary... 阅读全文
摘要:
Unix lsThe computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced ... 阅读全文
摘要:
AnanagramsMost crossword puzzle fans are used toanagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POT... 阅读全文
摘要:
Stacks of FlapjacksTime limit: 3.000 secondsBackgroundStacks and Queues are often considered the bread and butter of data structures and find use in a... 阅读全文
摘要:
Train SwappingAt an old railway station, you may still encounter one of the last remaining ``train swappers''. A train swapper is an employee of the r... 阅读全文
摘要:
Tree's a CrowdTime limit: 3.000 secondsDr William Larch, noted plant psychologist and inventor of the phrase ``Think like a tree--Think Fig'' has inve... 阅读全文
摘要:
Problem CIf We Were a Child AgainInput: standard inputOutput: standard outputTime Limit: 7 seconds “Oooooooooooooooh!If I could do the easy mathematic... 阅读全文