Ad
  • Default User Avatar

    OK. I completed the description for that case:

    In such a case (no pair of prime numbers with a gap of `g`)
    In C: return [0, 0]
    ...