Cod sursa(job #217152)
Utilizator | Data | 27 octombrie 2008 11:23:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long x,y,s;
int main ()
{
f>>x>>y;
s=x+y;
g<<s<<"\n";
g.close ();
f.close ();
return 0;
}