Problem | leave |
---|---|
User | havinaaaaash |
Submission Time | 2024-11-11 01:18:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
leave.cpp: In function ‘int main()’:
leave.cpp:43:30: error: could not convert ‘q’ from ‘int’ to ‘std::deque<int>’
43 | if (binarySearch(q, 0, p.size()-1, i) != -1) {
| ^
| |
| int
leave.cpp:44:50: error: could not convert ‘q’ from ‘int’ to ‘std::deque<int>’
44 | p.erase(p.begin() + binarySearch(q, 0, p.size()-1, i));
| ^
| |
| int