Problem | duckhunt12 |
---|---|
User | naivecyans |
Submission Time | 2025-06-17 10:57:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:7:15: error: ‘True’ was not declared in this scope
7 | bool check = True;
| ^~~~
duckhunt12.cpp:15:4: error: expected ‘}’ before ‘else’
15 | else if(y==7){
| ^~~~
duckhunt12.cpp:12:12: note: to match this ‘{’
12 | if(y==1){
| ^
duckhunt12.cpp:33:8: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
33 | cout<<cout;
| ~~~~^~~~~~
| | |
| | basic_ostream<[...]>
| basic_ostream<[...]>
duckhunt12.cpp:33:8: note: candidate: ‘operator<<(int, int)’ <built-in>
33 | cout<<cout;
| ~~~~^~~~~~
duckhunt12.cpp:33:8: note: no known conversion for argument 2 from ‘std::ostream’ {aka ‘std::basic_ostream<char