Problem summit
User Henries
Submission Time 2024-10-04 23:27:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summit.cpp: In function ‘long long int bin_search(std::vector<long long int>&, long long int, long long int)’:
summit.cpp:26:21: error: expected ‘;’ before ‘break’
26 | mid = (lb + ub)/2
| ^
| ;
27 | break; // Exact match found
| ~~~~~