Problem binarysearch
User yq
Submission Time 2026-06-26 09:33:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:13:43: error: ‘k’ was not declared in this scope
13 | int ans = lower_bound(a.begin(),a.end(), k)-a.begin();
| ^