| Problem | sadtrainer2 |
|---|---|
| User | ThePwo |
| Submission Time | 2024-12-27 12:00:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sadtrainer2.cpp: In function ‘int32_t main()’:
sadtrainer2.cpp:13:17: error: no matching function for call to ‘std::set<int>::find(std::set<int>&)’
13 | if (st.find(st) == st.end()) cout << "No\n";
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from sadtrainer2.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 = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<int>; std::set<_Key, _Compare, _Alloc>::key_type = int]’
794 | find(const key_type& __x)
| ^~~~
/usr/include/c++/9/bits/stl_set.h:794:28: note: no known conversion for argument 1 from ‘s