Cod sursa(job #363796)
Utilizator | Data | 14 noiembrie 2009 19:05:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream.h>
ifstream fin("adunare.in");
ofstream fout("adunare.out");
long a, b, s;
int main ()
{
fin>>a;
fin>>b;
s=a+b;
fout<<s<<'\n';
fout.close();
return 0;
}