Problem duckhunt17
User R9q5P8
Submission Time 2025-11-18 10:22:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt17.cpp: In function ‘int main()’:
duckhunt17.cpp:11:44: error: ‘set’ was not declared in this scope
11 | vector<unordered_set<int>> duck_immune(n, set<int>());
| ^~~
duckhunt17.cpp:4:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
3 | #include <unordered_set>
+++ |+#include <set>
4 | #include <utility>
duckhunt17.cpp:11:48: error: expected primary-expression before ‘int’
11 | vector<unordered_set<int>> duck_immune(n, set<int>());
| ^~~