circuit.cpp: In function 'void push(long long int, long long int, long long int)':
circuit.cpp:20:32: error: no match for 'operator^=' (operand types are 'std::vector<bool>::reference' and 'int')
20 | lazy[node * 2 + 1] ^= 1;
| ~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45,
from circuit.cpp:2:
/usr/include/c++/11/cstddef:179:3: note: candidate: 'constexpr std::byte& std::operator^=(std::byte&, std::byte)'
179 | operator^=(byte& __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/11/cstddef:179:20: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::byte&'
179 | operator^=(byte& __l, byte __r) noexcept
| ~~~~~~^~~
In file included from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from circuit.cpp:2:
/usr/include/c++/11/bits/ios_base.h:107:3: note: candidate: 'const std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:107:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Fmtflags&'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:149:3: note: candidate: 'const std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:149:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Openmode&'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:189:3: note: candidate: 'const std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:189:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Iostate&'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:105,
from circuit.cpp:2:
/usr/include/c++/11/future:169:18: note: candidate: 'std::launch& std::operator^=(std::launch&, std::launch)'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ^~~~~~~~
/usr/include/c++/11/future:169:37: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::launch&'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:127,
from circuit.cpp:2:
/usr/include/c++/11/charconv:686:3: note: candidate: 'constexpr std::chars_format& std::operator^=(std::chars_format&, std::chars_format)'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/11/charconv:686:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::chars_format&'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ~~~~~~~~~~~~~~^~~~~
circuit.cpp:21:32: error: no match for 'operator^=' (operand types are 'std::vector<bool>::reference' and 'int')
21 | lazy[node * 2 + 2] ^= 1;
| ~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45,
from circuit.cpp:2:
/usr/include/c++/11/cstddef:179:3: note: candidate: 'constexpr std::byte& std::operator^=(std::byte&, std::byte)'
179 | operator^=(byte& __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/11/cstddef:179:20: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::byte&'
179 | operator^=(byte& __l, byte __r) noexcept
| ~~~~~~^~~
In file included from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from circuit.cpp:2:
/usr/include/c++/11/bits/ios_base.h:107:3: note: candidate: 'const std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:107:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Fmtflags&'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:149:3: note: candidate: 'const std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:149:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Openmode&'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:189:3: note: candidate: 'const std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:189:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Iostate&'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:105,
from circuit.cpp:2:
/usr/include/c++/11/future:169:18: note: candidate: 'std::launch& std::operator^=(std::launch&, std::launch)'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ^~~~~~~~
/usr/include/c++/11/future:169:37: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::launch&'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:127,
from circuit.cpp:2:
/usr/include/c++/11/charconv:686:3: note: candidate: 'constexpr std::chars_format& std::operator^=(std::chars_format&, std::chars_format)'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/11/charconv:686:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::chars_format&'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ~~~~~~~~~~~~~~^~~~~
circuit.cpp: In function 'void update(long long int, long long int, long long int, long long int, long long int)':
circuit.cpp:44:20: error: no match for 'operator^=' (operand types are 'std::vector<bool>::reference' and 'int')
44 | lazy[node] ^= 1;
| ~~~~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45,
from circuit.cpp:2:
/usr/include/c++/11/cstddef:179:3: note: candidate: 'constexpr std::byte& std::operator^=(std::byte&, std::byte)'
179 | operator^=(byte& __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/11/cstddef:179:20: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::byte&'
179 | operator^=(byte& __l, byte __r) noexcept
| ~~~~~~^~~
In file included from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from circuit.cpp:2:
/usr/include/c++/11/bits/ios_base.h:107:3: note: candidate: 'const std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:107:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Fmtflags&'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:149:3: note: candidate: 'const std::_Ios_Openmode& std::operator^=(std::_Ios_Openmode&, std::_Ios_Openmode)'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:149:29: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Openmode&'
149 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/ios_base.h:189:3: note: candidate: 'const std::_Ios_Iostate& std::operator^=(std::_Ios_Iostate&, std::_Ios_Iostate)'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ^~~~~~~~
/usr/include/c++/11/bits/ios_base.h:189:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::_Ios_Iostate&'
189 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:105,
from circuit.cpp:2:
/usr/include/c++/11/future:169:18: note: candidate: 'std::launch& std::operator^=(std::launch&, std::launch)'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ^~~~~~~~
/usr/include/c++/11/future:169:37: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::launch&'
169 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:127,
from circuit.cpp:2:
/usr/include/c++/11/charconv:686:3: note: candidate: 'constexpr std::chars_format& std::operator^=(std::chars_format&, std::chars_format)'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/11/charconv:686:28: note: no known conversion for argument 1 from 'std::vector<bool>::reference' to 'std::chars_format&'
686 | operator^=(chars_format& __lhs, chars_format __rhs) noexcept
| ~~~~~~~~~~~~~~^~~~~