0_0_17246514_9074.cpp:6:11: error: redefinition of 'const int inf' const int inf = 2e9; ^ 0_0_17246514_9074.cpp:3:11: note: 'const int inf' previously defined here const int inf = 0x3f3f3f3f; ^