0_0_22977146_5412\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_22977146_5412\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_22977146_5412\Main.java:2: 错误: 非法字符: '#'
#define LL long long
^
0_0_22977146_5412\Main.java:5: 错误: 需要class, interface或enum
const int N = 2e5 + 10;
^
0_0_22977146_5412\Main.java:7: 错误: 需要class, interface或enum
char digit[N];
^
0_0_22977146_5412\Main.java:8: 错误: 需要class, interface或enum
int nxt[N],d[N],n;
^
0_0_22977146_5412\Main.java:9: 错误: 需要class, interface或enum
int belong[N];
^
0_0_22977146_5412\Main.java:10: 错误: 需要class, interface或enum
int st[N],vis[N];
^
0_0_22977146_5412\Main.java:11: 错误: 需要class, interface或enum
struct node{
^
0_0_22977146_5412\Main.java:13: 错误: 需要class, interface或enum
node(){};
^
0_0_22977146_5412\Main.java:14: 错误: 需要class, interface或enum
node(int s,int e):s(s),e(e){};
^
0_0_22977146_5412\Main.java:15: 错误: 需要class, interface或enum
};
^
0_0_22977146_5412\Main.java:16: 错误: 需要class, interface或enum
vector<node> vs;
^
0_0_22977146_5412\Main.java:17: 错误: 需要class, interface或enum
int sa[N],t[N],t2[N],c[N],r[N];
^
0_0_22977146_5412\Main.java:18: 错误: 需要class, interface或enum
int cmp(int *r,int a,int b,int k)
^
0_0_22977146_5412\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_22977146_5412\Main.java:25: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:25: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:25: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:26: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[i] = r[i]]++;
^
0_0_22977146_5412\Main.java:26: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[i] = r[i]]++;
^
0_0_22977146_5412\Main.java:26: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[i] = r[i]]++;
^
0_0_22977146_5412\Main.java:27: 错误: 需要class, interface或enum
for(i = 1; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:27: 错误: 需要class, interface或enum
for(i = 1; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:27: 错误: 需要class, interface或enum
for(i = 1; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:28: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[i]]] = i;
^
0_0_22977146_5412\Main.java:28: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[i]]] = i;
^
0_0_22977146_5412\Main.java:28: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[i]]] = i;
^
0_0_22977146_5412\Main.java:29: 错误: 需要class, interface或enum
for(int k = 1; k <= n; k <<= 1)
^
0_0_22977146_5412\Main.java:29: 错误: 需要class, interface或enum
for(int k = 1; k <= n; k <<= 1)
^
0_0_22977146_5412\Main.java:29: 错误: 需要class, interface或enum
for(int k = 1; k <= n; k <<= 1)
^
0_0_22977146_5412\Main.java:32: 错误: 需要class, interface或enum
for(i = n - k; i < n; i++) y[p++] = i;
^
0_0_22977146_5412\Main.java:32: 错误: 需要class, interface或enum
for(i = n - k; i < n; i++) y[p++] = i;
^
0_0_22977146_5412\Main.java:32: 错误: 需要class, interface或enum
for(i = n - k; i < n; i++) y[p++] = i;
^
0_0_22977146_5412\Main.java:33: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:33: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:33: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:34: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) if(sa[i] >= k) y[p++] = sa[i] - k;
^
0_0_22977146_5412\Main.java:34: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) if(sa[i] >= k) y[p++] = sa[i] - k;
^
0_0_22977146_5412\Main.java:34: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) if(sa[i] >= k) y[p++] = sa[i] - k;
^
0_0_22977146_5412\Main.java:35: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:35: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:35: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] = 0;
^
0_0_22977146_5412\Main.java:36: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[y[i]]]++;
^
0_0_22977146_5412\Main.java:36: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[y[i]]]++;
^
0_0_22977146_5412\Main.java:36: 错误: 需要class, interface或enum
for(i = 0; i < n; i++) c[x[y[i]]]++;
^
0_0_22977146_5412\Main.java:37: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:37: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:37: 错误: 需要class, interface或enum
for(i = 0; i < m; i++) c[i] += c[i-1];
^
0_0_22977146_5412\Main.java:38: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[y[i]]]] = y[i];
^
0_0_22977146_5412\Main.java:38: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[y[i]]]] = y[i];
^
0_0_22977146_5412\Main.java:38: 错误: 需要class, interface或enum
for(i = n - 1; i >= 0; i--) sa[--c[x[y[i]]]] = y[i];
^
0_0_22977146_5412\Main.java:39: 错误: 需要class, interface或enum
swap(x,y);
^
0_0_22977146_5412\Main.java:40: 错误: 需要class, interface或enum
p = 1,x[sa[0]] = 0;
^
0_0_22977146_5412\Main.java:41: 错误: 需要class, interface或enum
for(i = 1; i < n; i++)
^
0_0_22977146_5412\Main.java:41: 错误: 需要class, interface或enum
for(i = 1; i < n; i++)
^
0_0_22977146_5412\Main.java:41: 错误: 需要class, interface或enum
for(i = 1; i < n; i++)
^
0_0_22977146_5412\Main.java:43: 错误: 需要class, interface或enum
if(p >= n) break;
^
0_0_22977146_5412\Main.java:44: 错误: 需要class, interface或enum
m = p;
^
0_0_22977146_5412\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_22977146_5412\Main.java:48: 错误: 需要class, interface或enum
bool Big(int s){
^
0_0_22977146_5412\Main.java:50: 错误: 需要class, interface或enum
while(len < n){
^
0_0_22977146_5412\Main.java:52: 错误: 需要class, interface或enum
if(digit[s] < digit[tmps]) return false;
^
0_0_22977146_5412\Main.java:53: 错误: 需要class, interface或enum
s = nxt[s], tmps = nxt[tmps],len++;
^
0_0_22977146_5412\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_22977146_5412\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_22977146_5412\Main.java:60: 错误: 需要class, interface或enum
cin>>T;
^
0_0_22977146_5412\Main.java:61: 错误: 需要class, interface或enum
while(T--){
^
0_0_22977146_5412\Main.java:63: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++) vis[i] = d[i] = 0;
^
0_0_22977146_5412\Main.java:63: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++) vis[i] = d[i] = 0;
^
0_0_22977146_5412\Main.java:63: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++) vis[i] = d[i] = 0;
^
0_0_22977146_5412\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){
^
0_0_22977146_5412\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){
^
0_0_22977146_5412\Main.java:64: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){
^
0_0_22977146_5412\Main.java:66: 错误: 需要class, interface或enum
nxt[i] = y,d[y]++;
^
0_0_22977146_5412\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_22977146_5412\Main.java:69: 错误: 需要class, interface或enum
int id = 0;
^
0_0_22977146_5412\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){ ///找出链+环的
^
0_0_22977146_5412\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){ ///找出链+环的
^
0_0_22977146_5412\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0;i < n;i++){ ///找出链+环的
^
0_0_22977146_5412\Main.java:73: 错误: 需要class, interface或enum
++id;
^
0_0_22977146_5412\Main.java:74: 错误: 需要class, interface或enum
while(vis[x] != id){
^
0_0_22977146_5412\M
|