Cod sursa(job #506007)
Utilizator | Data | 4 decembrie 2010 19:03:32 | |
---|---|---|---|
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()
{
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int a, b;
fin >> a >> b;
fout << a+b;
fin.close();
fout.close();
return 0;
}