上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 56 下一页
摘要: https://vjudge.net/problem/Gym-102141E 用set乱搞 阅读全文
posted @ 2019-07-31 15:23 WeiAR 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 严格上升的话,减1就好啦 阅读全文
posted @ 2019-07-30 09:59 WeiAR 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 求循环节之类的问题 阅读全文
posted @ 2019-07-29 15:36 WeiAR 阅读(104) 评论(0) 推荐(0) 编辑
摘要: hdu2087kmp模板题,在匹配文本串成功之后,模式串要跳整个自身的长度 阅读全文
posted @ 2019-07-29 11:28 WeiAR 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 前缀数组O(n^3)做法 s.substr()的应用非常方便 阅读全文
posted @ 2019-07-29 10:52 WeiAR 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 非AC版,会T,待更新 阅读全文
posted @ 2019-07-27 20:45 WeiAR 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #pragma GCC optimize(2) #define inf 2147483647 #define ls rtq; void build(){ For(i,0,25) ... 阅读全文
posted @ 2019-07-27 15:45 WeiAR 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 字典树裸题,字符串的末节点出现次数++,次数为一的贡献了答案。主要收获是读入的技巧 阅读全文
posted @ 2019-07-26 20:41 WeiAR 阅读(101) 评论(0) 推荐(0) 编辑
摘要: hdu1251 trie模板题,用g++会MLE,用c++就好了 阅读全文
posted @ 2019-07-26 17:49 WeiAR 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 0%0==1gcd(0,0)会RE 阅读全文
posted @ 2019-07-25 11:33 WeiAR 阅读(311) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 56 下一页