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