Cod sursa(job #1036305)
Utilizator | Data | 19 noiembrie 2013 10:24:59 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<fstream>
#include<iostream>
using namespace std;
int main()
{
long int a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}