Cod sursa(job #178971)

Utilizator lothar07Mocioi Mihai lothar07 Data 15 aprilie 2008 13:47:10
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <fstream.h>
#include -<iostream.h>
long long A,B;
  int main ()
  {
   fstream f ("adunare",ios::in)
   fstream g ("adunare", ios::out)
     f>>a;
     f>>b;
	f.close ();
	 g<<A+B;
	    g.close();
	    return 0;
   }