Cod sursa(job #1082864)

Utilizator PopaVladVlad Popa PopaVlad Data 14 ianuarie 2014 23:43:16
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
	int a, b, s;
	ifstream f("adunare.in");
	ofstream g("adunare.out");
	f>>a>>b;
	s=a+b;
	g<<s;
	f.close();
	g.close();
	cout<<endl;
	return 0;
}