Cod sursa(job #124271)
Utilizator | Data | 18 ianuarie 2008 18:46:24 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
void main()
{
f>>a>>b; f.close();
g<<a+b; g.close();
}