Problem | reading |
---|---|
User | Yuzzll |
Submission Time | 2023-04-18 21:41:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reading.cpp: In function ‘int main()’:
reading.cpp:31:24: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::istream’ {aka ‘std::basic_istream<char>’})
31 | operator>>(cin, n) >> operator>>(cin, k);
| ~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~
| | |
| basic_istream<[...]> basic_istream<[...]>
reading.cpp:31:24: note: candidate: ‘operator>>(int, int)’ <built-in>
31 | operator>>(cin, n) >> operator>>(cin, k);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
reading.cpp:31:24: 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/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/cco