Cod sursa(job #365016)
| Utilizator | Data | 17 noiembrie 2009 18:00:26 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
void main ()
{
long int a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close ();
g.close ();
}