摘要: 这题用单调队列需要分析好,当然也是自己思维不灵活,老想套用其他题的方法。题意:求出字串和,使其满足sum%p#include#includeusing namespace std;struct Node{ int x,pos;}a[2000010],s[2000010];int cmp(Nod... 阅读全文
posted @ 2013-06-05 21:55 amourjun 阅读(306) 评论(0) 推荐(0) 编辑