Cod sursa(job #87797)
Utilizator | Data | 29 septembrie 2007 10:33:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
ifstream fin ("adunare.int");
ofstream fout ("adunare.out");
int main ()
{
long int a, b, s;
fin>>a>>b;
s=a+b;
fout<<s<<'\n';
fin.close();
fout.close();
return 0;
}