Problem | 4russians |
---|---|
User | FIips |
Submission Time | 2025-07-09 12:58:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4russians.cpp: In function ‘int32_t main()’:
4russians.cpp:24:11: error: expected unqualified-id before numeric constant
24 | for(int 0 = 1; j <= k; j++) {
| ^
4russians.cpp:24:11: error: expected ‘;’ before numeric constant
4russians.cpp:24:15: error: lvalue required as left operand of assignment
24 | for(int 0 = 1; j <= k; j++) {
| ^
4russians.cpp:24:18: error: ‘j’ was not declared in this scope
24 | for(int 0 = 1; j <= k; j++) {
| ^
4russians.cpp:24:24: error: expected ‘)’ before ‘;’ token
24 | for(int 0 = 1; j <= k; j++) {
| ~ ^
| )
4russians.cpp:24:26: error: ‘j’ was not declared in this scope
24 | for(int 0 = 1; j <= k; j++) {
| ^
4russians.cpp:38:33: error: expected ‘)’ before ‘]’ token
38 | dp[i][j] = max(dp[i][j], temp]
|