Cod sursa(job #699501)
Utilizator | Data | 29 februarie 2012 19:43:27 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | teme_upb | Marime | 0.19 kb |
#include<fstream.h>
int main()
{
long a,b,s;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}