Cod sursa(job #175724)
Utilizator | Data | 10 aprilie 2008 12:41:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream.h>
#include<iostream.h>
int main(void)
{
fstream f,g;
long int a,b;
f.open("adunare.in",ios::in);
f>>a>>b;
f.close();
g.open("adunare.out",ios::out);
g<<a+b;
g.close();
return 0;
}