Cod sursa(job #509636)
Utilizator | Data | 11 decembrie 2010 15:11:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{ long a,b;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
fin.close();
fout<<a+b;
fout.close();
}