Cod sursa(job #309137)

Utilizator harababurelPuscas Sergiu harababurel Data 29 aprilie 2009 19:39:18
Problema A+B Scor 100
Compilator cpp Status done
Runda tot Marime 0.2 kb
#include <iostream.h>
#include <fstream.h>
int main() {
	ifstream f; f.open("adunare.in");
	ofstream g; g.open("adunare.out");
	int a, b;
	f>>a>>b;
	g<<a+b;
	f.close();
	g.close();
	return 0;
}