Problem | magiccarps |
---|---|
User | newperson |
Submission Time | 2025-06-12 16:26:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
magiccarps.cpp: In function ‘int main()’:
magiccarps.cpp:18:18: error: ‘a’ was not declared in this scope
18 | best = max(J[a]+J[b]+J[c]+2*E[a]+2*E[b]+2*E[c], best);
| ^
magiccarps.cpp:18:23: error: ‘b’ was not declared in this scope
18 | best = max(J[a]+J[b]+J[c]+2*E[a]+2*E[b]+2*E[c], best);
| ^
magiccarps.cpp:18:28: error: ‘c’ was not declared in this scope
18 | best = max(J[a]+J[b]+J[c]+2*E[a]+2*E[b]+2*E[c], best);
| ^