Problem el_classico
User Lotr1
Submission Time 2025-08-20 16:50:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

el_classico.cpp: In function ‘int main()’:
el_classico.cpp:7:9: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
7 | print( "Hello World!" );
| ^~~~~
| printf
el_classico.cpp:9:9: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
9 | print( "Bye Bye World!");
| ^~~~~
| printf
el_classico.cpp:10:74: error: no match for ‘operator==’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
10 | } else if (std::cout << "Modulus: " << (long long)N % 7 << std::endl == 0 || std::cout << "Modulus: " << (long long)N % 11 << std::endl == 0){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~
| | |
|