| Problem | duckhunt17 |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-18 10:21:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt17.cpp: In function ‘int main()’:
duckhunt17.cpp:11:9: error: ‘unordered_set’ was not declared in this scope
11 | vector<unordered_set<int>> duck_immune(n, set<int>());
| ^~~~~~~~~~~~~
duckhunt17.cpp:4:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
3 | #include <set>
+++ |+#include <unordered_set>
4 | #include <utility>
duckhunt17.cpp:11:26: error: template argument 1 is invalid
11 | vector<unordered_set<int>> duck_immune(n, set<int>());
| ^~
duckhunt17.cpp:11:26: error: template argument 2 is invalid
duckhunt17.cpp:11:54: error: expression list treated as compound expression in initializer [-fpermissive]
11 | vector<unordered_set<int>> duck_immune(n, set<int>());
|