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