Cod sursa(job #217145)
| Utilizator | Data | 27 octombrie 2008 11:17:20 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 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();
return 0;
}