摘要: 题意:给出不同字符个数和子串长度,判断有多少个不同的子串思路:字符串hash。用字符串函数+map为什么会超时呢??代码:#include #include #include using namespace std;const int N=16000005; //题目给出子串的最大和不超过16Mco... 阅读全文
posted @ 2013-09-06 10:24 amourjun 阅读(161) 评论(0) 推荐(0) 编辑