Problem | lunchtime |
---|---|
User | asruby |
Submission Time | 2023-12-11 10:03:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchtime.cpp: In function ‘int main()’:
lunchtime.cpp:4:6: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
4 | cin >> cout;
| ~~~ ^~ ~~~~
| | |
| | std::ostream {aka std::basic_ostream<char>}
| std::istream {aka std::basic_istream<char>}
lunchtime.cpp:4:6: note: candidate: ‘operator>>(int, int)’ <built-in>
4 | cin >> cout;
| ~~~~^~~~~~~
lunchtime.cpp:4:6: note: no known conversion for argument 2 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/iostream:40,
from lunchtime.cpp:1:
/usr/include/c++/9/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_is