Problem lunchbox
User wayne
Submission Time 2023-11-09 11:25:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:17:21: error: cannot convert ‘std::multiset<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘int’ in initialization
17 | int a = s.begin();
| ~~~~~~~^~
| |
| std::multiset<int>::iterator {aka std::_Rb_tree_const_iterator<int>}