Cod sursa(job #274728)
Utilizator | Data | 9 martie 2009 22:32:45 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream.h>
int main()
{
ifstream fin("adunare.in");
long int a,b,s;
fin>>a>>b;
fin.close();
s=a+b;
ofstream fout("adunare.out");
fout<<s;
fout.close();
return 0;
}