0_0_18618700_31796.cpp:10:13: error: expected unqualified-id before numeric constant #define mod 1000000007 ^ 0_0_18618700_31796.cpp:19:11: note: in expansion of macro 'mod' const int mod = 2009; ^