Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Timed 10 - correctness


djcomidi's Avatar
Member
0 0

I already solved it, but before I did I had one case that failed:

The numbers I got were: 186, 7440, 4464, 9114 I submitted answer = 186, because:

  • 186 / 186 = 1
  • 7440 / 186 = 40
  • 4464 / 186 = 24
  • 9114 / 186 = 49

The response I got was: "That answer is incorrect, the correct answer is: 93"

Since 186 is obviously the greatest common divisor, why was my answer wrong ?


Euforia33's Avatar
philalethes
0 0

I was curious so I forced a similar situation. I cannot see the code but I'm guessing that, by design, it reverts to the 2nd GCD whenever the GCD is equal to the first integer.