Cod sursa(job #706365)
Utilizator | Data | 5 martie 2012 19:23:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
long s,a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main ()
{
f>>a>>b;
s=a+b;
g<<s;
f.close ();
g.close ();
return 0;
}