Problem pandaeyes
User lHog
Submission Time 2024-04-17 20:00:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandaeyes.cpp: In function ‘bool ca(int, int)’:
pandaeyes.cpp:8:13: error: request for member ‘end’ in ‘a1’, which is of non-class type ‘int’
8 | return a1.end < a2.end;
| ^~~
pandaeyes.cpp:8:22: error: request for member ‘end’ in ‘a2’, which is of non-class type ‘int’
8 | return a1.end < a2.end;
| ^~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from pandaeyes.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = __gnu_cxx::__normal_iterator<a*, std::vector<a> >; _Iterator2 = __gnu_cxx::__normal_iterator<a*, std::vect