Cod sursa(job #493687)
Utilizator | Ioana Popa corinutza | Data | 19 octombrie 2010 00:10:55 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long a, b, s;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}