摘要: #include#include#includeusing namespace std;char str[20000];int work(int m){ int i,j,l; i=0; j=1; while(im) break; if(str[(i+l)%m] > str[(j+l)%m]) i=i+l+1; else j=j+l+1; if(i==j) j=i+1; } if(i<j) return i; return j;}int main(){ int text... 阅读全文
posted @ 2013-10-30 17:13 crazy_apple 阅读(631) 评论(0) 推荐(0) 编辑