Cod sursa(job #129591)
Utilizator | Data | 29 ianuarie 2008 19:14:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <fstream.h>
int A, B;
int main()
{
ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
fin >> A >> B;
long S = 0;
S = A + B;
fout << S;
fin.close();
fout.close();
return 0;
}