Cod sursa(job #361731)

Utilizator levaionutLeva Ionut levaionut Data 6 noiembrie 2009 15:24:48
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <fstream>

using namespace std;

int main() {
  int a, b, s = a + b;
  fstream fi("a + b.in", ios::in);
  fstream fo("a + b.out", ios::out);
  fi >> s;
  fi >> a;
  fi >> b;
  while (s < a + b + 1 )
    fo << s;

  return 0;
}