Cod sursa(job #567125)
Utilizator | Data | 29 martie 2011 19:07:43 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
using namespace std;
int main()
{long int a, b, s;
ifstream f("adunare.in");
ofstream h("adunare.out");
f>>a;
f>>b;
s=a+b;
h<<s<<'\n';
f.close();
h.close();
return 0;
}