Problem | reopening |
---|---|
User | tux |
Submission Time | 2022-12-28 16:34:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reopening.cpp: In function ‘void dfs(long long int)’:
reopening.cpp:16:14: error: ‘c’ was not declared in this scope
16 | if(s.find({c,i})==s.end()){
| ^
reopening.cpp:16:18: error: no matching function for call to ‘std::set<std::pair<long long int, long long int> >::find(<brace-enclosed initializer list>)’
16 | if(s.find({c,i})==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 reopening.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 = std::pair<long long int, long long int>; _Compare = std::less<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::