Problem | veryeasyproblem |
---|---|
User | DANIE4588E |
Submission Time | 2023-04-27 22:17:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
veryeasyproblem.cpp: In function ‘int main()’:
veryeasyproblem.cpp:5:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::istream’ {aka ‘std::basic_istream<char>’})
5 | cout << cin;
| ~~~~ ^~ ~~~
| | |
| | std::istream {aka std::basic_istream<char>}
| std::ostream {aka std::basic_ostream<char>}
veryeasyproblem.cpp:5:7: note: candidate: ‘operator<<(int, int)’ <built-in>
5 | cout << cin;
| ~~~~~^~~~~~
veryeasyproblem.cpp:5:7: note: no known conversion for argument 2 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/iostream:39,
from veryeasyproblem.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>