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