Cod sursa(job #978065)
| Utilizator | Data | 27 iulie 2013 18:38:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 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();
}