Problem | funnyhat |
---|---|
User | usernamehere |
Submission Time | 2024-12-30 15:16:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
funnyhat.cpp: In function ‘int find_hat(int, std::vector<int>)’:
funnyhat.cpp:8:26: error: expected ‘;’ before ‘)’ token
8 | lo = ceil((lo+hi)/2.0));
| ^
| ;
funnyhat.cpp:10:26: error: expected ‘;’ before ‘)’ token
10 | hi = ceil((lo+hi)/2.0))-1;
| ^
| ;