Problem pandacity
User R9q5P8
Submission Time 2025-11-13 21:40:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandacity.cpp: In function ‘int main()’:
pandacity.cpp:10:2: error: ‘multiset’ was not declared in this scope
10 | multiset<long long> inhab;
| ^~~~~~~~
pandacity.cpp:2:1: note: ‘std::multiset’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
1 | #include <iostream>
+++ |+#include <set>
2 | using namespace std;
pandacity.cpp:10:11: error: expected primary-expression before ‘long’
10 | multiset<long long> inhab;
| ^~~~
pandacity.cpp:19:3: error: ‘inhab’ was not declared in this scope
19 | inhab.insert(inp);
| ^~~~~