Problem tickethandling
User shoryu386
Submission Time 2023-12-12 22:44:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tickethandling.cpp: In function ‘int main()’:
tickethandling.cpp:27:27: error: no match for ‘operator==’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<long long int, long long int, long long int> >, std::tuple<long long int, long long int, long long int> >::value_type’ {aka ‘std::tuple<long long int, long long int, long long int>’} and ‘int’)
27 | if (get<1>(cringe[y]== 2) && get<1>(cringe[best]) == 1){
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from tickethandling.cpp:1:
/usr/include/c++/9/bits/regex.h:1026:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)’
1026 | operator==(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)