Problem duckhunt12
User sussyimpasta
Submission Time 2025-06-17 10:31:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt12.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:8:5: error: ‘ios_base’ has not been declared
8 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
duckhunt12.cpp:9:5: error: ‘cin’ was not declared in this scope
9 | cin.tie(NULL);
| ^~~
duckhunt12.cpp:9:13: error: ‘NULL’ was not declared in this scope
9 | cin.tie(NULL);
| ^~~~
duckhunt12.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include <bits/stdc++.h>
duckhunt12.cpp:12:15: error: ‘cout’ was not declared in this scope
12 | if (x==y) cout << 0;
| ^~~~
duckhunt12.cpp:32:9: error: ‘cout’ was not declared in this scope
32 | cout << c;
|