| Problem | duckhunt10 |
|---|---|
| User | bribritt |
| Submission Time | 2025-11-20 23:34:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt10.cpp: In function ‘int main()’:
duckhunt10.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
duckhunt10.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
duckhunt10.cpp:6:2: error: ‘vector’ was not declared in this scope
6 | vector<vector<tuple<int,int,int>>> adj(n);
| ^~~~~~
duckhunt10.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
duckhunt10.cpp:6:16: error: ‘tuple’ was not declared in this scope
6 | vector<vector<tuple<int,int,int>>> adj(n);
| ^~~~~
duckhunt10.cpp:1:1: note: ‘std::tuple’ is defined in header ‘<tuple>’; did you forget to ‘#include <tuple&g