Cod sursa(job #2074844)
Utilizator | Data | 25 noiembrie 2017 09:00:12 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int a,b,c;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int main()
{
f1>>a >>b;
c=a+b;
f1.close();
f2<<c;
f2.close();
return 0;
}