Cod sursa(job #309151)
| Utilizator | Data | 29 aprilie 2009 19:50:17 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>
#include <fstream.h>
int main () {
ifstream f; f.open("adunare.in");
ofstream g; g.open("adunare.out");
int a,b;
f>>a>>b;
g<<a+b<<;
f.close();
g.close();
return 0;
}
