Cod sursa(job #699500)
| Utilizator | Data | 29 februarie 2012 19:43:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | 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;
}