Problem | arrayfind |
---|---|
User | dminh |
Submission Time | 2023-03-17 17:47:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:13:87: error: ‘v’ was not declared in this scope
13 | cout<<"Smaller: "<<lower_bound(a.begin(),a.end(),k)-a.begin()<<", Greater: "<<v.back()-upper_bound(a.begin(),a.end(),k)-a.begin()<<"\n";
| ^