| Problem | coin |
|---|---|
| User | justin271828 |
| Submission Time | 2025-03-13 23:42:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
coin.cpp: In function ‘void topo3(int)’:
coin.cpp:27:2: error: reference to ‘visit’ is ambiguous
27 | visit[x] = true;
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:133,
from coin.cpp:1:
/usr/include/c++/9/variant:1658:5: note: candidates are: ‘template<class _Visitor, class ... _Variants> constexpr decltype(auto) std::visit(_Visitor&&, _Variants&& ...)’
1658 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
coin.cpp:12:6: note: ‘bool visit [271828]’
12 | bool visit[271828];
| ^~~~~
coin.cpp:29:7: error: reference to ‘visit’ is ambiguous
29 | if (visit[p.f]) continue;
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:133,
from coin.cpp:1:
/usr/include/c++/9/variant:1658:5: note: candidates are: ‘template<class _Visitor, class ... _Variants>