Problem shirts
User Xiaoyang
Submission Time 2025-02-26 07:13:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shirts.cpp: In function ‘int main()’:
shirts.cpp:44:22: error: cannot convert ‘std::set<std::pair<long long int, long long int> >::empty’ from type ‘bool (std::set<std::pair<long long int, long long int> >::)() const noexcept’ to type ‘bool’
44 | if(!shit.empty and c == higher->second){
| ^~~~~
shirts.cpp:44:22: error: in argument to unary !