| Problem | monkeyjourney |
|---|---|
| User | CKCodeBreaker55 |
| Submission Time | 2026-02-28 17:22:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
monkeyjourney.cpp: In function ‘int main()’:
monkeyjourney.cpp:12:48: error: template argument 1 is invalid
12 | vector<vector<int> dp(N, vector<int>(N + 1, 0));
| ^
monkeyjourney.cpp:12:48: error: template argument 2 is invalid
monkeyjourney.cpp:21:3: error: ‘dp’ was not declared in this scope
21 | dp[i][1] = 1;
| ^~
monkeyjourney.cpp:34:7: error: ‘dp’ was not declared in this scope
34 | dp[i][len] += dp[j][len - 1];
| ^~
monkeyjourney.cpp:47:17: error: ‘dp’ was not declared in this scope
47 | ans = (ans + dp[i][len]) % MOD;
| ^~