Cod sursa(job #27934)

Utilizator ova1ovaSolomon Ovidiu ova1ova Data 7 martie 2007 12:21:09
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.17 kb
#include "fstream.h"

ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{  int a,b;
   f>>a>>b;
   g<<a+b;
   return 0;
f.close();
g.close();
}