Problem monkeyjourney
User ensonchew
Submission Time 2025-12-15 11:11:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monkeyjourney.cpp: In function ‘int main()’:
monkeyjourney.cpp:23:32: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘char’)
23 | cout << x%676767676< ' ';
| ~~~~~~~~~~~~~~~~~~~^ ~~~
| | |
| | char
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
monkeyjourney.cpp:23:32: note: candidate: ‘operator<(int, int)’ <built-in>
23 | cout << x%676767676< ' ';
| ~~~~~~~~~~~~~~~~~~~^~~~~
monkeyjourney.cpp:23:32: note: no known conversion for argument 1 from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x8