0_0_36708519_19602.cpp:4:10: error: 'maxn' was not declared in this scope bool vis[maxn]; ^ 0_0_36708519_19602.cpp: In function 'int main()': 0_0_36708519_19602.cpp:11:13: error: 'vis' was not declared in this scope vis[x]=1; ^