aaaa ababab . Sample Output 1 4 3 Hint This problem has huge input, use scanf instead of cin to avoid time limit exceed. 题意:求字符串的循环节个数 思路:要注意如果该字符串如果不满足都是循环组成的则输出-1,若是都是循环节组成的,那么n-nextt[n]就是