Cod sursa(job #648611)

Utilizator adighAdrian Gheorghe adigh Data 13 decembrie 2011 20:54:49
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.27 kb
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
	int A,B;
	ifstream F("adunare.in",ios::in);
	ofstream G("adunare.out",ios::out);
	F>>A;
	F>>B;
//	G<<A<<"+"<<endl<<B<<endl<<"------"<<endl;
	G<<A+B;
	F.close();
	G.close();
	return 0;
}