Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.cpp:9:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout << sum << "\n"; ^~~~ std::cout /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ 1 error generated. |
||
#2 |
Error de compilación
main.cpp:9:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout << sum << "\n"; ^~~~ std::cout /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ 1 error generated. |
||
#3 |
Error de compilación
main.cpp:9:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout << sum << "\n"; ^~~~ std::cout /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ 1 error generated. |
||
#4 |
Error de compilación
main.cpp:9:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout << sum << "\n"; ^~~~ std::cout /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ 1 error generated. |
||
#5 |
Error de compilación
main.cpp:9:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout << sum << "\n"; ^~~~ std::cout /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ 1 error generated. |
#include <iostream> int main(void) { int num1 = 0, num2 = 0, sum = 0; scanf("%d %d", &num1, &num2); sum = num1 + num2; cout << sum << "\n"; return 0; }