Cod sursa(job #505825)

Utilizator BabutaRaresBabuta Rares Mihai BabutaRares Data 4 decembrie 2010 10:34:35
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.18 kb
#include <fstream.h>
int main()
{
	long a,b,s;
	
	ifstream f("adunare.in");
	ofstream g("adunare.out");
	
	f>>a;
	f>>b;
	
	s=a+b;
	g<<s;
	f.close();
	g.close();
	return 0;
}