0_0_31481307_26861.cpp:8:11: error: redefinition of 'const int maxn' const int maxn = 650; ^ 0_0_31481307_26861.cpp:3:11: note: 'const int maxn' previously defined here const int maxn = 1e3 + 5; ^