Problem arrayfind
User Jaysonwee22
Submission Time 2026-06-25 15:44:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:5:46: error: a function-definition is not allowed here before ‘{’ token
5 | int first_b_search(vector<int> &arr, int &x){
| ^
arrayfind.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
arrayfind.cpp:4:14: note: to match this ‘{’
4 | signed main(){
| ^