Cod sursa(job #222382)

Utilizator BeRReTLiviu P. BeRReT Data 22 noiembrie 2008 09:50:43
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream.h>

   int main () {
   long a,b,s;
	ifstream fin("adunare.in");
	fin >>a>>b;
	fin.close();
	s=a+b  ;
	ofstream fout("adunare.out");
	fout<<s;
	fout.close ();
    return 0;
    }