Problem arrayfind
User godex
Submission Time 2025-02-19 17:18:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int32_t main()’:
arrayfind.cpp:35:19: error: ‘midw’ was not declared in this scope; did you mean ‘mids’?
35 | ans = midw;
| ^~~~
| mids
arrayfind.cpp:36:17: error: ‘mid’ was not declared in this scope; did you mean ‘mids’?
36 | r = mid - 1;
| ^~~
| mids
arrayfind.cpp:38:22: error: ‘mid’ was not declared in this scope; did you mean ‘mids’?
38 | else l = mid + 1;
| ^~~
| mids