摘要: Time Limit: 10 Seconds Memory Limit: 32768 KB We all know that FatMouse doesn't speak English. But now he has to be prepared since our nation will join WTO soon. Thanks to Turing we have compu... 阅读全文
posted @ 2012-03-15 21:34 Gavin Lipeng Ma 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB For each list of words, output a line with each word reversed without changing the order of the words. This problem contains multiple test cases! ... 阅读全文
posted @ 2012-03-15 20:59 Gavin Lipeng Ma 阅读(954) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 10 Seconds Memory Limit: 32768 KB In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For any positive integer n, define d(n) to be n pl... 阅读全文
posted @ 2012-03-15 20:02 Gavin Lipeng Ma 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 Seconds Memory Limit: 65536 KB Starting from point (0,0) on a plane, we have written all non-negative integers 0, 1, 2,... as shown in the figure. For example, 1, 2, and 3 has be... 阅读全文
posted @ 2012-03-15 16:34 Gavin Lipeng Ma 阅读(317) 评论(0) 推荐(0) 编辑