Problem minimum
User Xiaoyang
Submission Time 2023-04-15 12:36:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:4: error: ‘unordered_multiset’ was not declared in this scope
3 | unordered_multiset<int>ms;
| ^~~~~~~~~~~~~~~~~~
minimum.cpp:3:4: note: suggested alternatives:
In file included from /usr/include/c++/9/unordered_set:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from minimum.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:70:11: note: ‘std::unordered_multiset’
70 | class unordered_multiset;
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from minimum.cpp:1:
/usr/include/c++/9/unordered_set:73:13: note: ‘std::pmr::unordered_multiset’
73 | using unordered_multiset
| ^~~~~~~~~~~~~~~~~~
minimum.cpp:3:23: error: expected primary-expression before ‘int’
3 | unordered_multiset<in