Problem ants
User popperoni
Submission Time 2025-08-20 17:35:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ants.cpp: In function ‘void adjust(int, int)’:
ants.cpp:184:11: error: ‘A’ was not declared in this scope
184 | if(depth[A[i]]>depth[B[i]])
| ^
ants.cpp:184:23: error: ‘B’ was not declared in this scope
184 | if(depth[A[i]]>depth[B[i]])
| ^