Cod sursa(job #483599)

Utilizator lastopirvu constantin catalin lasto Data 9 septembrie 2010 13:16:02
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<iostream.h>
#include<fstream.h>

main()
{
     long a,b;
	 
	ifstream f("adunare.in");
    ofstream g("adunare.out");

	f>>a;
	f>>b;
    g<<a+b;

	f.close();
	g.close();

	return 0;
}