Problem | aliens_ioi |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-05 10:56:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
aliens_ioi.cpp: In function ‘void insert(long long int, long long int, long long int)’:
aliens_ioi.cpp:41:17: error: no match for call to ‘(__gnu_cxx::__alloc_traits<std::allocator<line>, line>::value_type {aka line}) (line&)’
41 | if (cht[s-1](l)<=cht[s-2](l))cht.pop_back();
| ^
aliens_ioi.cpp:16:6: note: candidate: ‘long long int line::operator()(long long int)’
16 | int operator()(int x){return m*x+c;}
| ^~~~~~~~
aliens_ioi.cpp:16:21: note: no known conversion for argument 1 from ‘line’ to ‘long long int’
16 | int operator()(int x){return m*x+c;}
| ^
aliens_ioi.cpp:41:30: error: no match for call to ‘(__gnu_cxx::__alloc_traits<std::allocator<line>, line>::value_type {aka line}) (line&)’
41 | if (cht[s-1](l)<=cht[s-2](l))cht.pop_back();
| ^
aliens_ioi.cpp:16:6: note: candidate: ‘long long int line::opera