Problem | oranges2 |
---|---|
User | justin271828 |
Submission Time | 2024-12-18 17:06:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oranges2.cpp: In function ‘int main()’:
oranges2.cpp:54:15: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
54 | q.push[p.f];}}
| ^
oranges2.cpp:61:64: error: expected ‘;’ before ‘}’ token
61 | mem[i][k].s = max(mem[i][k-1].s, mem[mem[i][k-1].f][k-1].s)}}
| ^
| ;
oranges2.cpp:71:28: error: ‘K’ was not declared in this scope
71 | max1 = max(max1, mem[S][K].s;}}
| ^
oranges2.cpp:81:11: error: expected ‘}’ at end of input
81 | return 0;}
| ^
oranges2.cpp:13:12: note: to match this ‘{’
13 | int main() {
| ^