Cod sursa(job #2629899)
| Utilizator | Data | 23 iunie 2020 10:58:39 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.3 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream file;
file.open("adunare.in.txt");
ifstream fin("adunare.in.txt");
ofstream fout("adunare.out.txt");
int a, b;
fin >> a>>b;
fout << a+b << endl;
file.close();
return 0;
}
