Problem | candymountain_ex |
---|---|
User | louisleehi |
Submission Time | 2024-04-10 10:56:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:19:16: error: cannot convert ‘std::multiset<int>::size’ from type ‘std::multiset<int>::size_type (std::multiset<int>::)() const noexcept’ {aka ‘long unsigned int (std::multiset<int>::)() const noexcept’} to type ‘bool’
19 | if(s.size) == k)
| ^
candymountain_ex.cpp:19:18: error: expected primary-expression before ‘==’ token
19 | if(s.size) == k)
| ^~
candymountain_ex.cpp:22:9: error: ‘maximumn’ was not declared in this scope
22 | cout<<maximumn;
| ^~~~~~~~