摘要: The Triangle 时间限制:1000 ms | 内存限制:65535 KB 难度:4 描述 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1) Figure 1 shows a number triangle. Write a program t... 阅读全文
posted @ 2015-11-19 22:06 上弦月307 阅读(183) 评论(0) 推荐(0)
摘要: Wilbur and Array Time Limit: 2000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64u Submit Status Description Wilbur the pig i... 阅读全文
posted @ 2015-11-19 20:27 上弦月307 阅读(173) 评论(0) 推荐(0)
摘要: 还是回文 时间限制:2000 ms | 内存限制:65535 KB 难度:3 描述 判断回文串很简单,把字符串变成回文串也不难。现在我们增加点难度,给出一串字符(全部是小写字母),添加或删除一个字符,都会产生一定的花费。那么,将字符串变成回文串的最小花费是多少呢? 输入多... 阅读全文
posted @ 2015-11-19 20:03 上弦月307 阅读(455) 评论(0) 推荐(0)