Cod sursa(job #903751)
Utilizator | Data | 2 martie 2013 19:16:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
#include <fstream>
using namespace std;
int main () {
fstream filestr;
unsigned long long a,b,s;
filestr.open ("adunare.in", fstream::in);
filestr>>a>>b;
filestr.close();
fstream out;
s=a+b;
out.open("adunare.out",fstream::out);
out<<s;
out.close();
return 0;
}