Cod sursa(job #281499)
Utilizator | Data | 15 martie 2009 09:27:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<conio.h>
#include<iostream.h>
#include<fstream.h>
void 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();
}