Cod sursa(job #251740)

Utilizator misuvdPopovici Mihai misuvd Data 3 februarie 2009 11:26:21
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.18 kb
#include<fstream.h>
long a,b,s;
int main()
{
  ifstream f("adunare.in");
  ofstream g("adunare.out");
  f>>a;
  f>>b;
  f.close();
  s=a+b;
  g<<s;
  g.close();
  return 0;
}