Cod sursa(job #2616947)
| Utilizator | Data | 20 mai 2020 13:31:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#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;
}
