Cod sursa(job #628949)
Utilizator | Data | 2 noiembrie 2011 14:06:45 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
int main()
{ long int a,b;
fstream fin("adunare.in",ios::in);
fstream fout("adunare.out",ios::out);
fin>>a;
fin>>b;
fout<<a+b<<endl;
fin.close();
fout.close();
return 0;
}