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