Cod sursa(job #2479937)

Utilizator vlad2134Opris Vlad vlad2134 Data 24 octombrie 2019 18:15:45
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.23 kb

#include <iostream>
#include <fstream>

using namespace std;

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