| Problem | boxispull |
|---|---|
| User | Spleefies |
| Submission Time | 2026-06-30 14:57:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:10:28: error: no match for ‘operator>>’ (operand types are ‘std::basic_ostream<char>’ and ‘char’)
10 | cout << abs(y2 - y1) >> '\n';
| ~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~
| | |
| | char
| std::basic_ostream<char>
boxispull.cpp:10:28: note: candidate: ‘operator>>(int, int)’ <built-in>
10 | cout << abs(y2 - y1) >> '\n';
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
boxispull.cpp:10:28: 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 boxispull.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>