Cod sursa(job #1812890)

Utilizator GreatBear88Andrei Baraian GreatBear88 Data 22 noiembrie 2016 15:29:18
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.33 kb
// ab1.cpp : Defines the entry point for the console application.
//

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

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