Cod sursa(job #281460)
Utilizator | Data | 14 martie 2009 22:30:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<fstream>
using namespace std;
long a, b, s;
int main() {
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}