inline void clear() { for (int i = 0; i <= idx; i++) { exist[i] = cnt[i] = 0; for(int j = 0; j < 62; j++) nxt[i][j] = 0; } idx = 0; }
i一定要从0开始!!!!