0_0_38806334_12376.cpp: In function 'int main()': 0_0_38806334_12376.cpp:14:16: error: 'n' was not declared in this scope 14 | for(int i=1;i<=n;++i) cnt[i]=0; | ^