| Problem | doll_noi |
|---|---|
| User | Memeathon |
| Submission Time | 2025-03-16 21:18:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:10:3: error: reference to ‘set’ is ambiguous
10 | set.insert(input);
| ^~~
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from doll_noi.cpp:1:
/usr/include/c++/9/bits/stl_set.h:94:11: note: candidates are: ‘template<class _Key, class _Compare, class _Alloc> class std::set’
94 | class set
| ^~~
doll_noi.cpp:5:15: note: ‘std::multiset<int> set’
5 | multiset<int> set;
| ^~~
doll_noi.cpp:11:9: error: reference to ‘set’ is ambiguous
11 | topH=*set.begin();
| ^~~
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from doll_noi.cpp:1:
/usr/include/c++/9/bits/stl_set.h:94:11: note: candidates