race.cpp: In function 'void solve(int)':
race.cpp:21:10: error: no matching function for call to 'std::queue<std::array<int, 4> >::push(int&)'
21 | q.push(x);
| ^
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from race.cpp:2:
/usr/include/c++/10/bits/stl_queue.h:265:7: note: candidate: 'void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = std::array<int, 4>; _Sequence = std::deque<std::array<int, 4>, std::allocator<std::array<int, 4> > >; std::queue<_Tp, _Sequence>::value_type = std::array<int, 4>]'
265 | push(const value_type& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:265:30: note: no known conversion for argument 1 from 'int' to 'const value_type&' {aka 'const std::array<int, 4>&'}
265 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_queue.h:270:7: note: candidate: 'void std::queue<_Tp, _Sequence>::push(std::queue<_Tp, _Sequence>::value_type&&) [with _Tp = std::array<int, 4>; _Sequence = std::deque<std::array<int, 4>, std::allocator<std::array<int, 4> > >; std::queue<_Tp, _Sequence>::value_type = std::array<int, 4>]'
270 | push(value_type&& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:270:25: note: no known conversion for argument 1 from 'int' to 'std::queue<std::array<int, 4> >::value_type&&' {aka 'std::array<int, 4>&&'}
270 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~