| Problem | binarysearch |
|---|---|
| User | NichWong |
| Submission Time | 2026-06-05 21:33:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int32_t main()’:
binarysearch.cpp:22:33: error: ‘n’ was not declared in this scope
22 | int index=lower_bound(arr,arr+n,kj)-arr; //first element >= kj
| ^
binarysearch.cpp:22:35: error: ‘kj’ was not declared in this scope
22 | int index=lower_bound(arr,arr+n,kj)-arr; //first element >= kj
| ^~