Cod sursa(job #282295)
Utilizator | Data | 17 martie 2009 12:18:33 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
void main()
{
f>>a; f>>b;
g<<a+b<<'\n';
g.close();
}