Problem ants
User eulerleonhardfan
Submission Time 2024-02-11 17:54:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ants.cpp: In function ‘int energy(int, int)’:
ants.cpp:84:15: error: wrong type argument to unary minus
84 | else return -dis+disy;
| ^~~