Problem gecko
User AltheaZ
Submission Time 2023-07-14 16:49:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gecko.cpp: In function ‘int main()’:
gecko.cpp:33:6: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
33 | cout<<cout;
| ~~~~^~~~~~
| | |
| | basic_ostream<[...]>
| basic_ostream<[...]>
gecko.cpp:33:6: note: candidate: ‘operator<<(int, int)’ <built-in>
33 | cout<<cout;
| ~~~~^~~~~~
gecko.cpp:33: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:39,
from gecko.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream&