Cod sursa(job #980427)
Utilizator | Data | 4 august 2013 17:19:46 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int main()
{
long a, b;
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
f>>a;
f>>b;
g<<(a+b);
g.close();
f.close();
}