Cod sursa(job #152799)
Utilizator | Data | 9 martie 2008 19:46:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
long a, b, c;
void main()
{
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
c=a+b;
ofstream g("adunare.out");
g<<c;
g.colse();
}