字符串最小表示
Hermit_Inwind
这个作者很懒,什么都没留下…
展开
-
ZOJ2006 字符串最小表示
http://blog.csdn.net/zy691357966/article/details/39854359 字符串最小表示 相关证明与模板 字符串最小表示入门模板题 #include using namespace std; const int maxn = 1e4+10; int Min(const char *str, int len){ int i,原创 2017-07-26 19:54:50 · 307 阅读 · 0 评论 -
ZOJ 1729
字符串最小表示 模板 #include using namespace std; const int maxn = 1e5+10; int MinRepresentation(const char *s, int len){ int i, j, k; i = k = 0; j = 1; while(i < len && j < len){ k原创 2017-07-26 20:13:02 · 325 阅读 · 0 评论