Cod sursa(job #1431080)
Utilizator | Data | 8 mai 2015 23:48:06 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
int main () {
ifstream in("adunare.in");
ofstream out("adunare.out");
int a, b, c;
in >> a;
in >> b;
c = a + b;
out << c;
in.close ();
out.close ();
}