Cod sursa(job #606717)
| Utilizator | Data | 9 august 2011 00:24:55 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream.h>
int main
{
long a,b,s;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
f >> a;
f >> b;
s = a+b;
g << s;
f.close();
g.close();
return 0;
}
