| Problem | arrayfind |
|---|---|
| User | Jaysonwee22 |
| Submission Time | 2026-06-25 16:22:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:12:20: error: expected ‘;’ before ‘}’ token
12 | cin >> arr. at(i)
| ^
| ;
13 | }
| ~
arrayfind.cpp:24:32: error: ‘first_b_search’ was not declared in this scope
24 | cout << "Smaller: " << first_b_search(arr, x) << ", Greater: " << n+1-second_b_search(arr, x) << "\n";
| ^~~~~~~~~~~~~~
arrayfind.cpp:24:79: error: ‘second_b_search’ was not declared in this scope
24 | cout << "Smaller: " << first_b_search(arr, x) << ", Greater: " << n+1-second_b_search(arr, x) << "\n";
| ^~~~~~~~~~~~~~~
arrayfind.cpp:25:5: error: expected ‘}’ at end of input
25 | }
| ^
arrayfind.cpp:6:15: note: to ma