Cod sursa(job #272417)
Utilizator | Data | 6 martie 2009 23:47:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
using namespace std;
long a,b,s;
int main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}