Cod sursa(job #422036)
Utilizator | Data | 22 martie 2010 05:45:50 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream fi("greutatii.in");
ofstream fo("adunare.out");
int a[10], b;
int main() {
fi >> a[11] >> b;
fo << a[11]+b;
fi.close(); fo.close();
return 0;
}