| Problem | leftright |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-11-05 10:49:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
leftright.cpp: In function ‘int main()’:
leftright.cpp:20:10: error: no match for ‘operator^’ (operand types are ‘std::deque<int>’ and ‘std::deque<int>’)
20 | r = r ^ l;
| ~ ^ ~
| | |
| | deque<[...]>
| deque<[...]>
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from leftright.cpp:1:
/usr/include/c++/9/cstddef:179:3: note: candidate: ‘constexpr std::byte std::operator^(std::byte, std::byte)’
179 | operator^(byte __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/9/cstddef:179:18: note: no known conversion for argument 1 from ‘std::deque<int>’ to ‘std::byte’
179 | 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,