Cod sursa(job #700029)

Utilizator andreipasalauPasalau Andrei andreipasalau Data 29 februarie 2012 22:57:47
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.48 kb
//============================================================================
// Name        : A + B.cpp
// Author      : Andrei Pasalau
// Version     : 1.0
// Copyright   : Your copyright notice
// Description : A + B
//============================================================================

#include <fstream>
using namespace std;

ifstream f("adunare.in");
ofstream g("adunare.out");

int main() {

	int a, b;

	f >> a;
	f >> b;

	g << a + b;

	g.close();
	f.close();
	return 0;
}