Cod sursa(job #119006)
| Utilizator | Data | 28 decembrie 2007 20:55:46 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
int main()
{ long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
c=a+b;
g<<c;
g.close();
}
