| Problem | shoop |
|---|---|
| User | AndyChen |
| Submission Time | 2026-11-06 13:52:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
shoop.cpp: In function ‘int main()’:
shoop.cpp:9:19: error: no matching function for call to ‘std::multiset<long long int>::multiset(long long int&)’
9 | multiset<int> a(n);
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from shoop.cpp:1:
/usr/include/c++/9/bits/stl_multiset.h:267:2: note: candidate: ‘template<class _InputIterator> std::multiset<_Key, _Compare, _Alloc>::multiset(_InputIterator, _InputIterator, const allocator_type&)’
267 | multiset(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_multiset.h:267:2: note: template argument deduction/substitution failed:
shoop.cpp:9:19: note: candidate expects 3 arguments, 1 provided
9 | multiset<int> a(n);
| ^
In file included from /usr/include/c++/9/set:62,