Cod sursa(job #112239)
| Utilizator | Data | 3 decembrie 2007 22:35:38 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
long int a, b;
int main () {
ifstream fin ("adunare.in");
fin >> a >> b;
fin.close ();
ofstream fout ("adunare.out");
fout << a+b;
fout.close ();
return 0;
}