Cod sursa(job #1610422)

Utilizator edufckndDorin Edu edufcknd Data 23 februarie 2016 15:24:53
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include <iostream>
#include <fstream>

using namespace std;
int main(){
	int a,b;
	ifstream f("adunare.in");
	f>>a;
	f>>b;
	a+=b;
	ofstream g("adunare.out");
	g<<a;
	f.close();
	g.close();

	return 0;
}