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