Cod sursa(job #767770)
Utilizator | Data | 14 iulie 2012 19:33:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{long a,b;
ifstream ifile("adunare.in");
ofstream ofile("adunare.out");
ifile>>a>>b;
ofile<<a+b;
cout<<a+b;
ifile.close();
ofile.close();
return 0; }