Cod sursa(job #198509)
Utilizator | Data | 11 iulie 2008 21:17:00 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int a,b;
void cit()
{ifstream f("adunare.in");
f>>a>>b;
f.close();
}
void main()
{cit();
ofstream g("adunare.out");
g<<a+b;
g.close();
}