Cod sursa(job #539170)
Utilizator | Data | 22 februarie 2011 16:08:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
long a,b;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
fout<<a+b;
fin.close();
fout.close();
return 0;
}