摘要: 题目:http://poj.org/problem?id=3096 题意:给定一个字符串S,从中找出所有有两个字符组成的子串,每当组成子串的字符之间隔着n字符时,如果没有相同的子串出现,则输出 "S is surprising." , 反之,则输出 "S is NOT surprising." 。  阅读全文
posted @ 2013-08-02 15:30 水门 阅读(334) 评论(0) 推荐(0)
摘要: 简单例题题目:http://acm.hdu.edu.cn/showproblem.php?pid=1412list 相关博客:http://www.cnblogs.com/fangyukuan/archive/2010/09/21/1832364.html 1 #include 2 #inclu... 阅读全文
posted @ 2013-08-02 10:43 水门 阅读(147) 评论(0) 推荐(0)