摘要:
1 #include<stdio.h> 2 int n,m,parent[200010],rank[200010]; 3 4 //初始化函数 5 void chushihua() 6 { 7 for (int i = 0; i <= n; i++) 8 { parent[i] = i; 9 rank 阅读全文
posted @ 2020-03-10 14:53
Yukino酱~
阅读(112)
评论(0)
推荐(0)
摘要:
1 //复杂版 2 #include<stdio.h> 3 #include<stdlib.h> 4 #include<string.h> 5 6 void prefix_table(char pattern[],int prefix[],int n){ 7 prefix[0] = 0; 8 int 阅读全文
posted @ 2020-03-10 14:49
Yukino酱~
阅读(149)
评论(0)
推荐(0)
浙公网安备 33010602011771号