Problem duckhunt5
User j0ashhh
Submission Time 2026-02-11 09:20:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt5.cpp:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
1 | #inlude <bits/stdc++.h>
| ^~~~~~
| include
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> q;
| ^~~
duckhunt5.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlude <bits/stdc++.h>
duckhunt5.cpp:6:2: error: ‘set’ was not declared in this scope
6 | set<int> st;
| ^~~
duckhunt5.cpp:1:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
+++ |+#include <set>
1 | #inlude <bits/stdc++.h>
duckhunt5.cpp:6:6: error: expected primary-expression before ‘int’
6 | set<int> st;
| ^~~
duckhunt5.cpp:13:4: error: ‘st’ was not decl