Cod sursa(job #858616)

Utilizator XeBluePodaru Mihai XeBlue Data 19 ianuarie 2013 03:15:24
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<fstream>
using namespace std;
int main()
{
	long a, b;
	ifstream f("adunare.in",ios::in);
	ofstream g("adunare.out",ios::out);
	f >> a;
	f >> b;
	g << a+b;
	f.close();
	g.close();
	return 0;
}