Cod sursa(job #221080)
Utilizator | Data | 14 noiembrie 2008 15:26:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream.h>
int main ()
{
int a, b;
ifstream fin("adunare.in");
fin >> a >> b;
fin.close();
ofstream fout ("adunare.out");
fout << a + b;
fout.close();
return 0;
}