Cod sursa(job #359878)

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