摘要:
View Code #include#includeconst int N = 10010;char T[1000010], P[N];int pi[N];int ans;void COMPUTER_PREFIX_FUNCTION(){ int m = strlen(P), i, k;... 阅读全文
摘要:
uva的题目真是奇怪,另外在查找排序的那个里面我还有一道题目,始终读不懂题意,郁闷.....View Code 1 #include2 int main()3 {4 long long m, n, i = 1;5 while(scanf("%lld%lld",&m,&n) && (m... 阅读全文