Cod sursa(job #281500)
| Utilizator | Data | 15 martie 2009 09:28:41 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<conio.h>
#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;
}