Cod sursa(job #248409)
Utilizator | Data | 25 ianuarie 2009 17:47:03 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int main()
{
long int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 1;
}