Cod sursa(job #2616946)
Utilizator | Data | 20 mai 2020 13:30:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>31
#include <fstream>
using namespace std;
int main()
{
int a,b,sum;
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
f>>a;
f>>b;
sum=a+b;
g<<sum<<endl;
f.close();
g.close();
return 0;
}