Cod sursa(job #471475)

Utilizator ilie.danilaIlie Teodor Danila ilie.danila Data 19 iulie 2010 09:33:53
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream>

using namespace std;

long int a,b;

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