Cod sursa(job #374156)
Utilizator | Data | 16 decembrie 2009 10:57:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{
long a,b;
fstream f1("adunare.in",ios::in);
fstream f2("adunare.out",ios::out);
f1>>a>>b;
f2<<a+b;
f1.close();
f2.close();
return 0;
}