Cod sursa(job #97390)
Utilizator | Moldovan Dan lenea | Data | 6 noiembrie 2007 20:57:00 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
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;
}