Cod sursa(job #24845)
Utilizator | Data | 3 martie 2007 18:56:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream.h>
#include <fstream.h>
int main ()
{
long int a,b,sum;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}