Cod sursa(job #1465962)

Utilizator JohnnyCodeSava Ioan JohnnyCode Data 28 iulie 2015 12:52:01
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>

#include <fstream.h>

using namespace std;

ifstream f("adunare.in");

ofstream g("adunare.out");

int main()

{
   int a,b;

   f>>a;

   f>>b;

   g<<a+b<<endl;

   f.close();

   g.close();

   return 1 ;

}