Cod sursa(job #1133574)
Utilizator | Data | 5 martie 2014 01:05:27 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
long a, b;
ifstream f("adunare.in");
f >> a;
f >> b;
f.close();
ofstream g("adunare.out");
g << a + b;
cout.flush();
g.close();
return 0;
}