| Problem | pandacity |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-13 21:49:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
pandacity.cpp: In function ‘int main()’:
pandacity.cpp:27:15: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::istream’ {aka ‘std::basic_istream<char>’})
27 | cout << tmp << cin;
| ~~~~~~~~~~~ ^~ ~~~
| | |
| | std::istream {aka std::basic_istream<char>}
| std::basic_ostream<char>
pandacity.cpp:27:15: note: candidate: ‘operator<<(int, int)’ <built-in>
27 | cout << tmp << cin;
| ~~~~~~~~~~~~^~~~~~
pandacity.cpp:27:15: 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 pandacity.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits&g