Cod sursa(job #1129335)

Utilizator gfkillergabriel gabi gfkiller Data 27 februarie 2014 21:29:50
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<iostream.h>
#include<fstream.h>

int main(){

 ifstream f("adunare.in");
 ofstream g("adunare.out");

        long int a,b;

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

 f.close();
 g.close();
 return 0;
}