Cod sursa(job #1255607)
Utilizator | Data | 4 noiembrie 2014 23:14:23 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main() {
int a, b;
fstream fin ("adunare.in", ios::in);
fstream fout ("adunare.out", ios::out);
fin >> a;
fin >> b;
fout << a+b;
fin.close();
fout.close();
return 0;
}