Cod sursa(job #2272496)

Utilizator lszcs90Szabolcs Lenart lszcs90 Data 30 octombrie 2018 10:56:48
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.29 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{
	ifstream myInFile;
	ofstream myOutFile;

	myInFile.open("adunare.in");
	myOutFile.open("adunare.out");

	int a, b;
	myInFile >> a >> b;

	myOutFile << (a + b);

	myInFile.close();
	myOutFile.close();
}