Cod sursa(job #2479946)

Utilizator _nastea_Popov Anastasia _nastea_ Data 24 octombrie 2019 18:22:13
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.22 kb

#include <iostream>
#include <fstream>

using namespace std;

int main()
{
	ifstream f("adunare.in");
	int a, b, s;
	f >> a >> b;
	ofstream g("adunare.out");
	s = a + b;
	g << s;
	g.close();
	return 0;
}