Cod sursa(job #657510)

Utilizator dady95bogdan david dady95 Data 6 ianuarie 2012 17:58:22
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <iostream.h>
#include <fstream.h>
long long int a,b,s;
int main ()
{
	ifstream f("adunare.in");
	ofstream g("adunare.out");
	f>>a;
	f>>b;
	s=a+b;
	g<<s;
	f.close();
	g.close();
	return 0;
}