Problem basketball
User Hijackedsoul
Submission Time 2024-09-02 22:23:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

basketball.cpp: In function ‘int32_t main()’:
basketball.cpp:20:7: error: ‘class std::multiset<long long int>’ has no member named ‘resize’; did you mean ‘size’?
20 | ball.resize(n);
| ^~~~~~
| size
basketball.cpp:22:15: error: ‘x’ was not declared in this scope
22 | std::cin >> x;
| ^
basketball.cpp:23:8: error: ‘class std::multiset<long long int>’ has no member named ‘push_back’
23 | ball.push_back(x);
| ^~~~~~~~~