摘要: http://www.lydsy.com/JudgeOnline/problem.php?id=3916#include using namespace std;int n, ans[3]; char s[2000005];void work(int now) { int l=1, r=n-(n>>... 阅读全文
posted @ 2015-03-27 22:33 iwtwiioi 阅读(414) 评论(0) 推荐(0) 编辑
摘要: http://acm.timus.ru/problem.aspx?space=1&num=1960题意:给一个串s,要求输出所有的s[0]~s[i],iusing namespace std;struct PT { static const int nS=26, nL=100015, N=nL; i... 阅读全文
posted @ 2015-03-27 13:42 iwtwiioi 阅读(383) 评论(0) 推荐(0) 编辑