Cod sursa(job #281501)
| Utilizator | Data | 15 martie 2009 09:29:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{
long A,B,T;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>A>>B;
T=A+B;
g<<T;
f.close();
g.close();
return 0;
}