| Problem | seats |
|---|---|
| User | popperoni |
| Submission Time | 2026-03-22 15:33:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
seats.cpp: In function ‘void give_initial_chart(int, int, std::vector<int>, std::vector<int>)’:
seats.cpp:202:13: error: no matching function for call to ‘swap(std::vector<long long int>&, std::vector<int>&)’
202 | swap(posx,R);
| ^
In file included from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from seats.cpp:17:
/usr/include/c++/9/sstream:849:5: note: candidate: ‘template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&)’
849 | swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x,
| ^~~~
/usr/include/c++/9/sstream:849:5: note: template argument deduction/substitution failed:
seats.cpp:202:13: no