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

Compile Error

el_classico.cpp: In function ‘int main()’:
el_classico.cpp:9:32: error: invalid cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘long long int’
9 | if (N == "1" || (long long)N<1) { // &&: both must be fulfilled
| ^
el_classico.cpp:13:55: error: invalid cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘long long int’
13 | } else if (std::cout << "Modulus: " << (long long)N % 7 << std::endl == 0 || std::cout << "Modulus: " << (long long)N % 11 << std::endl == 0){
| ^
el_classico.cpp:13:121: error: invalid cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘long long int’
13 | } else if (std::cout << "Modulus: " << (long long)N % 7 << std::endl == 0 || std::cout << "Modulus: " <&l