0_0_37247906_19906.cpp:15:11: error: redefinition of 'const int INF' const int INF = 0x3f3f3f3f; ^ 0_0_37247906_19906.cpp:12:11: note: 'const int INF' previously defined here const int INF = 1e9+7; ^