Cod sursa(job #1229432)
Utilizator | Data | 17 septembrie 2014 10:13:12 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
int main(){
long a,b;
ifstream fin;
ofstream fout;
fin.open("adunare.in");
fin >> a;
fin >> b;
fin.close();
fout.open("adunare.out");
fout << a + b;
fout.close();
}