Problem | pigeonhole |
---|---|
User | 583116UB |
Submission Time | 2024-07-13 10:46:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:4:5: error: ‘ios’ has not been declared
4 | ios::sync_with_stdio(false);
| ^~~
pigeonhole.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin.tie(0);
| ^~~
pigeonhole.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
pigeonhole.cpp:10:5: error: ‘multiset’ was not declared in this scope
10 | multiset<int> holes[h];
| ^~~~~~~~
pigeonhole.cpp:1:1: note: ‘std::multiset’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
+++ |+#include <set>
1 | using namespace std;
pigeonhole.cpp:10:14: error: expected primary-expression before ‘int’
10 | multiset<int> holes[h];
| ^~~
pigeonhole.cpp:19:13: error: ‘holes’ was not decl