Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.cpp:6:10: error: use of undeclared identifier 'a' cin >> a >> b; ^ main.cpp:6:15: error: use of undeclared identifier 'b' cin >> a >> b; ^ main.cpp:7:11: error: use of undeclared identifier 'a' cout << a + b << endl; ^ main.cpp:7:15: error: use of undeclared identifier 'b' cout << a + b << endl; ^ 4 errors generated. |
||
#2 |
Error de compilación
main.cpp:6:10: error: use of undeclared identifier 'a' cin >> a >> b; ^ main.cpp:6:15: error: use of undeclared identifier 'b' cin >> a >> b; ^ main.cpp:7:11: error: use of undeclared identifier 'a' cout << a + b << endl; ^ main.cpp:7:15: error: use of undeclared identifier 'b' cout << a + b << endl; ^ 4 errors generated. |
||
#3 |
Error de compilación
main.cpp:6:10: error: use of undeclared identifier 'a' cin >> a >> b; ^ main.cpp:6:15: error: use of undeclared identifier 'b' cin >> a >> b; ^ main.cpp:7:11: error: use of undeclared identifier 'a' cout << a + b << endl; ^ main.cpp:7:15: error: use of undeclared identifier 'b' cout << a + b << endl; ^ 4 errors generated. |
||
#4 |
Error de compilación
main.cpp:6:10: error: use of undeclared identifier 'a' cin >> a >> b; ^ main.cpp:6:15: error: use of undeclared identifier 'b' cin >> a >> b; ^ main.cpp:7:11: error: use of undeclared identifier 'a' cout << a + b << endl; ^ main.cpp:7:15: error: use of undeclared identifier 'b' cout << a + b << endl; ^ 4 errors generated. |
||
#5 |
Error de compilación
main.cpp:6:10: error: use of undeclared identifier 'a' cin >> a >> b; ^ main.cpp:6:15: error: use of undeclared identifier 'b' cin >> a >> b; ^ main.cpp:7:11: error: use of undeclared identifier 'a' cout << a + b << endl; ^ main.cpp:7:15: error: use of undeclared identifier 'b' cout << a + b << endl; ^ 4 errors generated. |
#include <bits/stdc++.h> using namespace std; int main(){ cin >> a >> b; cout << a + b << endl; }