QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#137814 | #6341. The Last Battle | Veeon# | Compile Error | / | / | C++17 | 2.9kb | 2023-08-10 17:56:17 | 2024-07-04 01:31:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Bruno.code: In function ‘std::string Bruno(int32_t, std::vector<std::vector<int> >)’: Bruno.code:51:9: error: no matching function for call to ‘swap(std::vector<std::vector<long long int> >&, std::vector<std::vector<int> >&)’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included 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 Bruno.code:1: /usr/include/c++/11/sstream:1185: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>&)’ 1185 | swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, | ^~~~ /usr/include/c++/11/sstream:1185:5: note: template argument deduction/substitution failed: Bruno.code:51:9: note: ‘std::vector<std::vector<long long int> >’ is not derived from ‘std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included 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 Bruno.code:1: /usr/include/c++/11/sstream:1193:5: note: candidate: ‘template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&)’ 1193 | swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, | ^~~~ /usr/include/c++/11/sstream:1193:5: note: template argument deduction/substitution failed: Bruno.code:51:9: note: ‘std::vector<std::vector<long long int> >’ is not derived from ‘std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included 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 Bruno.code:1: /usr/include/c++/11/sstream:1200:5: note: candidate: ‘template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&)’ 1200 | swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, | ^~~~ /usr/include/c++/11/sstream:1200:5: note: template argument deduction/substitution failed: Bruno.code:51:9: note: ‘std::vector<std::vector<long long int> >’ is not derived from ‘std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included 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 Bruno.code:1: /usr/include/c++/11/sstream:1207:5: note: candidate: ‘template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&)’ 1207 | swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, | ^~~~ /usr/include/c++/11/sstream:1207:5: note: template argument deduction/substitution failed: Bruno.code:51:9: note: ‘std::vector<std::vector<long long int> >’ is not derived from ‘std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included from /usr/include/c++/11/regex:63, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110, from Bruno.code:1: /usr/include/c++/11/bits/regex.h:872:5: note: candidate: ‘template<class _Ch_type, class _Rx_traits> void std::__cxx11::swap(std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&, std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&)’ 872 | swap(basic_regex<_Ch_type, _Rx_traits>& __lhs, | ^~~~ /usr/include/c++/11/bits/regex.h:872:5: note: template argument deduction/substitution failed: Bruno.code:51:9: note: ‘std::vector<std::vector<long long int> >’ is not derived from ‘std::__cxx11::basic_regex<_Ch_type, _Rx_traits>’ 51 | swap(trzymam,t); | ~~~~^~~~~~~~~~~ In file included from /usr/include/c++/11/regex:63, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110, from Bruno.code:1: /usr/include/c++/11/bits/regex.h:2165:5: note: candidate: ‘template<class _Bi_iter, class _Alloc> void std::__cxx11::swap(std::__cxx11::match_results<_BiIter, _Alloc>&, std::__cxx11::match_results<_BiIter, _Alloc>&)’ 2165 | swap(match_results<_Bi_iter, _Alloc>& __lhs, | ^~~~ /usr/include/c++...