Cod sursa(job #473707)

Utilizator olly2204Olly2204 olly2204 Data 31 iulie 2010 12:52:42
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.34 kb
// 1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;



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

int _tmain(int argc, _TCHAR* argv[])
{
	long a,b;

	f >> a >> b;

	g << a+b;

	f.close();
	g.close();


	return 1;
}