Problem | rainbowroad |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-26 14:13:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rainbowroad.cpp:10:28: error: template argument 1 is invalid
10 | vector<vector<vector<int>> dp;
| ^~
rainbowroad.cpp:10:28: error: template argument 2 is invalid
rainbowroad.cpp: In function ‘long long int rainbowroad(long long int, long long int, long long int)’:
rainbowroad.cpp:13:9: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
13 | if (dp[node][mask][color] != -1) return dp[node][mask][color];
| ^~
| mp
rainbowroad.cpp:28:5: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
28 | dp[node][mask][color] = sum;
| ^~
| mp
rainbowroad.cpp: In function ‘int32_t main()’:
rainbowroad.cpp:36:5: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
36 | dp.resize(n, vector<vector<int>>(128, vector<int>(8, -1)));
| ^~
| mp