Ad
  • Default User Avatar

    Please bear with me if I'm wrong, but this snippet seems to fail for test cases involving sums less or equal to 0, for example {-2} or {-5, 5}:

    It's supposed to filter out primes not involved but filters out just too much.

    Thanks for reading