Cod sursa(job #308308)
Utilizator | Data | 26 aprilie 2009 18:45:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a;
f>>b;
g<<a+b<<endl;
f.close();
g.close();
}