Cod sursa(job #366128)
Utilizator | Data | 21 noiembrie 2009 01:07:10 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int main() {
int a,b,s ;
ifstream fi ("adunare .in");
ofstream fo ("adunare.out");
fi >> a;
fi >> b;
s = a + b;
fo << s;
fo.close();
return 0;
}