Problem | roads |
---|---|
User | TheRaptor |
Submission Time | 2023-05-02 20:39:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
roads.cpp: In function ‘void dfsb(int, int)’:
roads.cpp:48:7: error: no match for ‘operator|=’ (operand types are ‘std::bitset<100005>::reference’ and ‘int’)
48 | vs[x]|=1;
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from roads.cpp:1:
/usr/include/c++/9/cstddef:144:3: note: candidate: ‘constexpr std::byte& std::operator|=(std::byte&, std::byte)’
144 | operator|=(byte& __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/9/cstddef:144:20: note: no known conversion for argument 1 from ‘std::bitset<100005>::reference’ to ‘std::byte&’
144 | operator|=(byte& __l, byte __r) noexcept
| ~~~~~~^~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex: