| Problem | duckhunt35 |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-02-09 17:45:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt35.cpp: In function ‘int main()’:
duckhunt35.cpp:9:31: error: no match for ‘operator>>’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
9 | cout << "2 " << i << "\n1 " >> i;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~
| | |
| | int
| std::basic_ostream<char>
duckhunt35.cpp:9:31: note: candidate: ‘operator>>(int, int)’ <built-in>
9 | cout << "2 " << i << "\n1 " >> i;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
duckhunt35.cpp:9:31: note: no known conversion for argument 1 from ‘std::basic_ostream<char>’ to ‘int’
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from duckhunt35.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<