Problem | network |
---|---|
User | haydendoo |
Submission Time | 2023-02-21 07:30:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
network.cpp: In function ‘void dfs2(long long int, long long int)’:
network.cpp:278:29: error: request for member ‘second’ in ‘* std::prev<std::_Rb_tree_const_iterator<long long int> >(store[idx].std::set<long long int>::end(), 1).std::_Rb_tree_const_iterator<long long int>::operator->()’, which is of non-class type ‘const long long int’
278 | if(prev(store[idx].end())->second==idx) {
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33,
from /usr/include/c++/9/bits/allocator.h:46,
from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from