Cod sursa(job #359876)

Utilizator sebastyle29Boca Sebastian sebastyle29 Data 28 octombrie 2009 17:12:39
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.14 kb
#include<fstream.h>
ifstream f("suma.in");
ofstream g("suma.out");
int A,B,C;
void main()
{ f>>A>>B;
  if(A) C=A+B;
  g<<C<<endl;
  }