摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored tak... 阅读全文
posted @ 2012-03-27 16:41 Gavin Lipeng Ma 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB Scenario A single playing card can be placed on a table, carefully, so that the short edges of the card are parallel to the table's edge, and half... 阅读全文
posted @ 2012-03-27 16:06 Gavin Lipeng Ma 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wa... 阅读全文
posted @ 2012-03-27 15:02 Gavin Lipeng Ma 阅读(458) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB In the 22nd Century, scientists have discovered intelligent residents live on the Mars. Martians are very fond of mathematics. Every year, they wou... 阅读全文
posted @ 2012-03-27 14:44 Gavin Lipeng Ma 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KBIn most languages, text is written from left to right. However, there are other languages where text is read and written from right to left. As a first step towards a program that automatically translates from a left-to-right language into a right-to-left 阅读全文
posted @ 2012-03-27 14:01 Gavin Lipeng Ma 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB Mathematics can be so easy when you have a computer. Consider the following example. You probably know that in a right-angled triangle, the length ... 阅读全文
posted @ 2012-03-27 13:57 Gavin Lipeng Ma 阅读(353) 评论(0) 推荐(0) 编辑