Cod sursa(job #708265)

Utilizator cristina_m23Ioana Cristina Marinescu cristina_m23 Data 6 martie 2012 17:24:44
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.49 kb
//============================================================================
// Name        : ab.cpp
// Author      : Cristina
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================


#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main() {
	long long int a,b;

	f>>a>>b;
	g<<a+b<<"\n";
	f.close();
	g.close();

	return 0;
}