Cod sursa(job #220796)
Utilizator | Data | 12 noiembrie 2008 20:54:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream.h>
int main()
{
ifstream fin ("ADUNARE.IN");
int a, b;
fin >> a >> b;
fin.close();
ofstream fout ("ADUNARE.OUT");
fout << a + b << '\n';
fout.close();
return 0;
}