Cod sursa(job #589058)
Utilizator | Data | 10 mai 2011 18:42:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
using namespace std;
int main()
{long a,b;
fstream F("adunare.in",ios::in);
F>>a>>b;
F.close();
fstream G("adunare.out",ios::out);
G<<a+b;
G.close();
return 0;
}