Cod sursa(job #507473)
Utilizator | Data | 6 decembrie 2010 09:24:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream>
using namespace std;
int main()
{ ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
int a,b;
fin>>a>>b;
fout<<a+b<<endl;
fin.close();
fout.close();
return 0;
}