Cod sursa(job #283538)
| Utilizator | Data | 19 martie 2009 11:56:02 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
int a,b;
void main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}