0_0_33585766_1893.cpp:6:11: error: redefinition of 'const int maxn' const int maxn = 1000000 + 10; ^ 0_0_33585766_1893.cpp:3:11: note: 'const int maxn' previously defined here const int maxn=10005; ^