Problem duckhunt29
User Usu
Submission Time 2026-05-12 17:54:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:10:17: error: invalid operands of types ‘int(int)’ and ‘bool’ to binary ‘operator^’
10 | if (query[mid]^truth[i]) l=mid+1;
| ~~~~~~~~~~^~~~~~~~~
| | |
| int(int) bool
duckhunt29.cpp:12:6: error: expected ‘;’ before ‘}’ token
12 | i++
| ^
| ;
13 | }
| ~