Problem | rabbiteatrabbit |
---|---|
User | Pyrros |
Submission Time | 2024-01-22 22:48:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rabbiteatrabbit.cpp: In function ‘int main()’:
rabbiteatrabbit.cpp:62:5: error: ‘else’ without a previous ‘if’
62 | }else
| ^~~~
rabbiteatrabbit.cpp:64:28: error: ‘j’ was not declared in this scope
64 | ll temp = max(dp2[i-1][j-2] + v1[j], dp2[i][j-1]);
| ^
rabbiteatrabbit.cpp: At global scope:
rabbiteatrabbit.cpp:72:20: error: ‘dp1’ was not declared in this scope
72 | ll maksimum = max(dp1[k][n-1], dp2[k][n]);
| ^~~
rabbiteatrabbit.cpp:72:24: error: ‘k’ was not declared in this scope
72 | ll maksimum = max(dp1[k][n-1], dp2[k][n]);
| ^
rabbiteatrabbit.cpp:72:27: error: ‘n’ was not declared in this scope
72 | ll maksimum = max(dp1[k][n-1], dp2[k][n]);
| ^
rabbiteatrabbit.cpp:72:33: error: ‘dp2’ was not declared in this scope
72 | ll maksimum = max(dp1[k][n-1], dp2[k][n]);