Cod sursa(job #565172)

Utilizator UgleaEduFMI - Edward UgleaEdu Data 27 martie 2011 13:23:07
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
using namespace std;
int main ()
{
 long int a , b ;
 fstream f ("adunare.in",ios::in );
 f >> a ; f >> b ;
 f.close();
 fstream g("adunare.out",ios::out);
 g<< a + b ;
 g.close();
 return 0 ;
}