QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#312698 | #7730. Convex Checker | MaMengQi | Compile Error | / | / | C++17 | 2.3kb | 2024-01-24 10:51:28 | 2024-01-24 10:51:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:103:26: error: no match for ‘operator!=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} and ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’}) 103 | if(v[pos]!=ans[i]){ In file included from /usr/include/c++/13/regex:68, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:181, from answer.code:1: /usr/include/c++/13/bits/regex.h:1132:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const sub_match<_BiIter>&)’ 1132 | operator!=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs) | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1132:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__cxx11::sub_match<_BiIter>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1212:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)’ 1212 | operator!=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1212:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1305:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)’ 1305 | operator!=(const sub_match<_Bi_iter>& __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1305:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__cxx11::sub_match<_BiIter>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1379:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)’ 1379 | operator!=(typename iterator_traits<_Bi_iter>::value_type const* __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1379:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__cxx11::sub_match<_BiIter>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1473:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)’ 1473 | operator!=(const sub_match<_Bi_iter>& __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1473:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__cxx11::sub_match<_BiIter>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1547:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)’ 1547 | operator!=(typename iterator_traits<_Bi_iter>::value_type const& __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1547:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__cxx11::sub_match<_BiIter>’ 103 | if(v[pos]!=ans[i]){ | ^ /usr/include/c++/13/bits/regex.h:1647:5: note: candidate: ‘template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)’ 1647 | operator!=(const sub_match<_Bi_iter>& __lhs, | ^~~~~~~~ /usr/include/c++/13/bits/regex.h:1647:5: note: template argument deduction/substitution failed: answer.code:103:33: note: ‘__gnu_cxx::__alloc_traits<std::allocator<point>, point>::value_type’ {aka ‘point’} is not derived from ‘const std::__...