Problem | luarulers |
---|---|
User | Random52 |
Submission Time | 2024-12-09 16:11:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
luarulers.cpp: In function ‘int main()’:
luarulers.cpp:25:21: error: no match for ‘operator==’ (operand types are ‘std::vector<long int>’ and ‘int’)
25 | if (m == 1 && b == 1) {
| ~ ^~ ~
| | |
| | int
| std::vector<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 luarulers.cpp:3:
/usr/include/c++/9/bits/postypes.h:222:5: note: candidate: ‘template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
222 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/9/bits/postypes.h:222:5: note: template argument dedu