Problem funnyhat
User usernamehere
Submission Time 2024-12-30 15:13:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp: In function ‘int find_hat(int, std::vector<int>)’:
funnyhat.cpp:8:18: error: expected ‘;’ before ‘)’ token
8 | lo = (lo+hi)/2);
| ^
| ;
funnyhat.cpp:10:18: error: expected ‘;’ before ‘)’ token
10 | hi = (lo+hi)/2)-1;
| ^
| ;