Problem | toxic2 |
---|---|
User | oiu890 |
Submission Time | 2024-03-19 10:20:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxic2.cpp: In function ‘void determine_type(int)’:
toxic2.cpp:11:27: error: no match for ‘operator==’ (operand types are ‘std::vector<int>::reverse_iterator’ {aka ‘std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int> > >’} and ‘int’)
11 | if(check.rbegin() == 1){
| ~~~~~~~~~~~~~~ ^~ ~
| | |
| | int
| std::vector<int>::reverse_iterator {aka std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int> > >}
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from toxic2.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_mat