Problem | leave |
---|---|
User | Henries |
Submission Time | 2024-10-23 07:55:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
leave.cpp: In function ‘int main()’:
leave.cpp:22:25: error: no matching function for call to ‘std::set<long long int>::find(<unresolved overloaded function type>)’
22 | while(s.find(qu.front) == s.end()){
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from leave.cpp:1:
/usr/include/c++/9/bits/stl_set.h:794:7: note: candidate: ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = long long int; _Compare = std::less<long long int>; _Alloc = std::allocator<long long int>; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<long long int>; std::set<_Key, _Compare, _Alloc>::key_type = long long int]’
794 | find(const key_type& __x)
| ^~~~
/usr/include/c++/9/bits/stl_set.h:794