0_0_14702058_18582.cpp: In function 'int main()': 0_0_14702058_18582.cpp:47:45: error: 'MOD' was not declared in this scope ans = (ans + d[m][7]) % MOD; ^