Cod sursa(job #635225)
Utilizator | Data | 18 noiembrie 2011 20:15:26 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{ int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}