0_0_30430027_14506.cpp: In function 'void init(int)': 0_0_30430027_14506.cpp:25:27: error: 'vis' was not declared in this scope pre[i] = i,head[i] = -1,vis[i] = 0; ^