Problem | leave |
---|---|
User | havinaaaaash |
Submission Time | 2024-11-11 01:16:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
leave.cpp: In function ‘int main()’:
leave.cpp:43:38: error: request for member ‘size’ in ‘q’, which is of non-class type ‘int’
43 | if (binarySearch(q, 0, q.size()-1, i) != -1) {
| ^~~~
leave.cpp:44:27: error: request for member ‘begin’ in ‘q’, which is of non-class type ‘int’
44 | p.erase(q.begin() + binarySearch(q, 0, q.size()-1, i));
| ^~~~~
leave.cpp:44:58: error: request for member ‘size’ in ‘q’, which is of non-class type ‘int’
44 | p.erase(q.begin() + binarySearch(q, 0, q.size()-1, i));
| ^~~~