Cod sursa(job #1252073)
Utilizator | Data | 30 octombrie 2014 12:51:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
ofstream g("adunare.out");
g<<a+b<<endl;
f.close();
g.close();
return 0;
}