摘要: 题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=5672 【题意】给出一串字符(全是英文小写),找出含有k个不同字符的子串个数。 【思路】尺取法 AC代码: 阅读全文
posted @ 2016-11-12 16:56 唐唐123 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Humble Numbers Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description A number whose only prime factors are 2,3,5 or 7 is ca 阅读全文
posted @ 2016-11-12 09:27 唐唐123 阅读(607) 评论(0) 推荐(0) 编辑