Problem | compleecode |
---|---|
User | oolimry |
Submission Time | 2024-04-24 11:48:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
compleecode.cpp: In lambda function:
compleecode.cpp:38:13: error: expected ‘{’ before ‘>’ token
38 | if(!i||[i]>v[i-1]) i++;
| ^
compleecode.cpp: In function ‘std::vector<int> solve3(std::vector<int>)’:
compleecode.cpp:38:13: error: no match for ‘operator>’ (operand types are ‘solve3(std::vector<int>)::<lambda()>’ and ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’})
38 | if(!i||[i]>v[i-1]) i++;
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from compleecode.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:467:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator>(