Problem arrayfind
User R9q5P8
Submission Time 2025-11-28 20:46:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:25:25: error: request for member ‘lower_bound’ in ‘s’, which is of non-class type ‘int’
25 | int s = ss-distance(s.lower_bound(q), s.end());
| ^~~~~~~~~~~
arrayfind.cpp:25:43: error: request for member ‘end’ in ‘s’, which is of non-class type ‘int’
25 | int s = ss-distance(s.lower_bound(q), s.end());
| ^~~