0_0_20361592_255.cpp: In function 'int main()': 0_0_20361592_255.cpp:19:25: error: 'mod' was not declared in this scope cout << dp[n] % mod << endl; ^