Problem | wabot |
---|---|
User | YongXin |
Submission Time | 2023-06-15 15:37:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wabot.cpp: In function ‘int main()’:
wabot.cpp:26:11: error: cannot convert ‘std::deque<std::pair<int, long long int> >::size’ from type ‘std::deque<std::pair<int, long long int> >::size_type (std::deque<std::pair<int, long long int> >::)() const noexcept’ {aka ‘long unsigned int (std::deque<std::pair<int, long long int> >::)() const noexcept’} to type ‘bool’
26 | if (!d.size==1 && (d[0].first>=p.first || d[1].first>=p.first)) sort(d.begin(),d.end(),s);
| ^~~~
wabot.cpp:26:11: error: in argument to unary !