Cod sursa(job #223465)
Utilizator | Data | 28 noiembrie 2008 17:22:19 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<conio.h>
#include<fstream.h>
int main()
{long int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close();
getch();
return 0;
}