Problem | routine |
---|---|
User | pIaceholder |
Submission Time | 2024-01-07 19:17:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
routine.cpp: In function ‘int32_t main()’:
routine.cpp:25:36: error: no match for ‘operator!=’ (operand types are ‘std::pair<long long int, long long int>’ and ‘long long int’)
25 | if (it != v.begin() && *it != t) it--;
| ~~~ ^~ ~
| | |
| | long long int
| std::pair<long long int, long long int>
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from routine.cpp:1:
/usr/include/c++/9/bits/postypes.h:227:5: note: candidate: ‘template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
227 | operator!=(const fpos<_StateT>& __lhs, co