Cod sursa(job #309223)
Utilizator | Data | 29 aprilie 2009 21:19:49 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{int a,b;
ifstream f("adunare.in") ;
ofstream g("adunare.out");
f>>a;f>>b;
f.close();
g<<a+b;
g.close();
return 0;
}