| Problem | duckhunt |
|---|---|
| User | havinaaaaash |
| Submission Time | 2024-12-14 10:54:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt.cpp:5:17: error: ‘vec’ has not been declared
5 | #define vecpair vec<pair>
| ^~~
duckhunt.cpp:8:34: note: in expansion of macro ‘vecpair’
8 | int lemonade_stand(int n, int d, vecpair&a, vector<vector<int>>&dp){
| ^~~~~~~
duckhunt.cpp:5:20: error: expected ‘,’ or ‘...’ before ‘<’ token
5 | #define vecpair vec<pair>
| ^
duckhunt.cpp:8:34: note: in expansion of macro ‘vecpair’
8 | int lemonade_stand(int n, int d, vecpair&a, vector<vector<int>>&dp){
| ^~~~~~~
duckhunt.cpp: In function ‘long long int lemonade_stand(long long int, long long int, int)’:
duckhunt.cpp:15:8: error: ‘dp’ was not declared in this scope; did you mean ‘d’?
15 | if(dp[n][d] != -1){
| ^~
| d
duckhunt.cpp:18:5: error: ‘dp’ was not declared in this sco