Problem binarysearch
User Spenser
Submission Time 2026-06-25 15:21:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:8:46: error: ‘target’ was not declared in this scope
8 | int pos = lower_bound(v.begin(),v.end(), target)-v.begin();
| ^~~~~~