Cod sursa(job #577396)
Utilizator | Data | 10 aprilie 2011 11:10:47 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.18 kb |
#include <fstream.h>
int main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}