摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. B... 阅读全文
posted @ 2012-05-10 15:43
Gavin Lipeng Ma
阅读(349)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB Children are taught to add multi-digit numbers from right-to-left one digit at a time. Many find the "carry" operation - in which a 1 is carried fr... 阅读全文
posted @ 2012-05-10 13:50
Gavin Lipeng Ma
阅读(508)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB A boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an even number of bits which are set. Here's a ... 阅读全文
posted @ 2012-05-10 13:33
Gavin Lipeng Ma
阅读(340)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even n... 阅读全文
posted @ 2012-05-10 12:53
Gavin Lipeng Ma
阅读(244)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2) Input Input consists of a sequence of lines, each... 阅读全文
posted @ 2012-05-10 11:59
Gavin Lipeng Ma
阅读(308)
评论(0)
推荐(0)
浙公网安备 33010602011771号