0_0_26398954_18319.cpp:25:11: error: redefinition of 'const int maxn' const int maxn = 1e6; ^ 0_0_26398954_18319.cpp:23:11: note: 'const int maxn' previously defined here const int maxn = 1e6; ^