随笔分类 -  算法-字符串

摘要:1 #include <bits/stdc++.h> 2 3 using namespace std; 4 5 char s[10000]; // 原字符串 6 char ss[10000]; // 新构造的字符串 7 int r[10000]; // 回文半径 8 9 int manachar() 阅读全文
posted @ 2020-10-11 21:01 湖上的程序员 阅读(133) 评论(0) 推荐(0)
摘要:参考视频:https://www.bilibili.com/video/BV1jb411V78H?from=search&seid=4313084886343126293 参考博客:https://blog.csdn.net/qq_34181098/article/details/107066929 阅读全文
posted @ 2020-09-02 21:57 湖上的程序员 阅读(255) 评论(0) 推荐(0)