Cod sursa(job #246167)
| Utilizator | Data | 20 ianuarie 2009 10:18:58 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
int main()
{int a,b,s;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
s=a+b;
g<<s;
return 0;
}
