Problem | leave |
---|---|
User | Henries |
Submission Time | 2024-10-23 07:54:56 |
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::unordered_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/unordered_set:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from leave.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:650:7: note: candidate: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::iterator std::unordered_set<_Value, _Hash, _Pred, _Alloc>::find(const key_type&) [with _Value = long long int; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int>; _Alloc = std::allocator<long long int>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::iterator = std::__detail::_Node_iterator<long long int, true, false>; std::unordered_set<_Value, _Hash, _Pr