Cod sursa(job #220797)
Utilizator | Rauca Ioan David david_rauca | Data | 12 noiembrie 2008 21:05:02 |
---|---|---|---|
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;
}