Problem | candymountain_ex |
---|---|
User | louisleehi |
Submission Time | 2024-04-10 10:55:12 |
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:23:5: error: expected ‘}’ at end of input
23 | }
| ^
candymountain_ex.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^