Problem | binarysearch |
---|---|
User | hitarthdangra |
Submission Time | 2025-06-19 15:57:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:21:32: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in initialization
21 | int count = lower_bound(A.begin(), A.end(), K[i]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| __gnu_cxx::__normal_iterator<int*, std::vector<int> >