0_0_37715936_17204.cpp:13:21: error: redefinition of 'int cnt' int primes[400005], cnt; ^ 0_0_37715936_17204.cpp:4:9: note: 'int cnt' previously declared here int n,m,cnt,mark[400005]; ^