摘要:
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... 阅读全文
摘要:
Cly与lyon的终极巅峰对决Time Limit:1000MS Memory Limit:65535K题型: 编程题语言: 无限制描述 从前有一天,ly与lyon在讨论人工智能里面的博弈问题,恰好,他们提到了五子棋。当然,这里说的五子棋是指无禁手(不知道什么是禁手的也不用管了,跟这题没关系)... 阅读全文
摘要:
H拥挤的华农校巴Time Limit:1000MS Memory Limit:65535K题型: 编程题语言: 无限制描述 同学们来到华农3个月了,在华农印象最深的是什么呢?猪,牛,鹅?当然,很多同学会记得我们学校的大金龙校巴。华农这么大,坐校巴是很平常的事。无聊的LRC经常坐校巴从华山到五山... 阅读全文
摘要:
BLRC才不会告诉你们的事情Time Limit:1000MS Memory Limit:65535K题型: 编程题语言: 无限制描述 作为一个ACMer,可能很多时候要熬夜。但是,熬夜不是必须的,倒不如第二天早点起来奋斗,而且这样在效率上有明显的提高。笨蛋LRC就是不明白这个道理,所以LRC... 阅读全文