Cod sursa(job #807653)

Utilizator valentinpielePiele Valentin valentinpiele Data 5 noiembrie 2012 14:41:22
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.17 kb
#include <fstream>
using namespace std;

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