Problem | arrayfind |
---|---|
User | carson |
Submission Time | 2025-08-18 17:32:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int binary_search(long long int, long long int, long long int)’:
arrayfind.cpp:19:11: error: a function-definition is not allowed here before ‘{’ token
19 | int main(){
| ^
arrayfind.cpp:38:1: error: expected ‘}’ at end of input
38 | }
| ^
arrayfind.cpp:15:6: note: to match this ‘{’
15 | else{
| ^
arrayfind.cpp:38:1: error: expected ‘}’ at end of input
38 | }
| ^
arrayfind.cpp:7:44: note: to match this ‘{’
7 | signed binary_search(ll low, ll high, ll x){
| ^