Problem squidzofrenzic
User Henries
Submission Time 2024-10-07 20:26:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squidzofrenzic.cpp: In function ‘long long int solve(std::vector<long long int>, long long int)’:
squidzofrenzic.cpp:9:50: error: a function-definition is not allowed here before ‘{’ token
9 | void bin_search(vector<long long>v , long long m){
| ^
squidzofrenzic.cpp:23:2: error: expected ‘}’ at end of input
23 | }
| ^
squidzofrenzic.cpp:3:51: note: to match this ‘{’
3 | long long solve(vector<long long>v, long long mid){
| ^