Cod sursa(job #272415)
| Utilizator | Data | 6 martie 2009 23:44:31 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream.h>
long a,b,s;
int main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}
