Cod sursa(job #1035715)
Utilizator | Data | 18 noiembrie 2013 19:26:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a;
f >> b;
g << a + b << '\n';
f.close();
g.close();
return 0;
}