Cod sursa(job #326924)

Utilizator SelonyEcho Slam Selony Data 26 iunie 2009 17:08:22
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <fstream>
#include<math.h>
using namespace std;
int main()
{
   
   ifstream f("adunare.in");
   ofstream g("adunare.out");
   long int a,b;
   
   f>>a>>b;
   g<<a+b;
   
   f.close();
   g.close();
return 0;
}