| Problem | race |
|---|---|
| User | maomao |
| Submission Time | 2026-03-07 16:39:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
race.cpp: In function ‘void dfs(int, int, int, int)’:
race.cpp:27:12: error: cannot decompose inaccessible member ‘std::map<int, int>::_M_t’ of ‘std::map<int, int>’
27 | for(auto [j, ed1] : mp) {
| ^~~~~~~~
In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from race.cpp:1:
/usr/include/c++/9/bits/stl_map.h:151:17: note: declared private here
151 | _Rep_type _M_t;
| ^~~~
race.cpp:31:12: error: cannot decompose inaccessible member ‘std::map<int, int>::_M_t’ of ‘std::map<int, int>’
31 | for(auto [j, ed1] : mp) {
| ^~~~~~~~
In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from race.cpp:1:
/usr/include/c++/9/bits/stl_map.h:151:17: note: declared private here
15