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