摘要: 参考资料 后缀数组新手向入门 by xMinh 后缀数组——强大的字符串处理工具 by laeva 后缀数组 by hyfhaha 2012年noi冬令营陈立杰讲稿 罗穗骞《后缀数组——处理字符串问题的有力工具》 1. 朴素算法 #include<cstdio> #include<cstring> 阅读全文
posted @ 2020-08-22 13:43 cjlworld 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 官网传送门:https://projecteuler.net/ Problem 1 #include<cstdio> #include<iostream> using namespace std; int ans; int main() { int i; for(i=1;i<=999;i++) if 阅读全文
posted @ 2020-08-22 12:40 cjlworld 阅读(214) 评论(0) 推荐(0) 编辑