Cod sursa(job #2423962)
Utilizator | Data | 22 mai 2019 12:23:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream fin;
ofstream fout;
fin.open("adunare.in", ifstream::in);
fout.open("adunare.out", ofstream::out);
int A,B;
fin >> A >> B;
fout << A+B << endl;
fin.close();
fout.close();
}