| Problem | duckhunt29 |
|---|---|
| User | bachnguyen123 |
| Submission Time | 2025-12-28 10:50:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt29.cpp: In function ‘void finddist(int, int)’:
duckhunt29.cpp:8:3: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
8 | cin>>p[i];
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from duckhunt29.cpp:2:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
duckhunt29.cpp:15:6: error: ‘qry’ was not declared in this scope; did you mean ‘query’?
15 | if(qry(x) * p[i] == 1) mi = x+1;
| ^~~
| query
duckhunt29.cpp:15:26: error: ‘mi’ was not declared in this scope; did you mean ‘i’?
15 | if(qry(x) * p[i] == 1) mi = x+1;
| ^~
| i
duckhunt29.cpp:16:8: error: ‘ma’ was not declared in this scope; did you mean ‘fma’?
16 | else ma