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