Project Euler #134: Prime pair connection

  • + 1 comment

    Can some one tell me what kind of test case 10 onwards is?. Till 9th test I am getting correct answer but from 10 to 18 all are showing wrong answer.

    Thanks

    • + 1 comment

      Maybe an overflow issue? How big do the numbers get?

      • + 0 comments

        I tried various large numbers (R<=10^9), but the answers are coming well within the range of long long int. But still wrong answer in the last cases.Any clue? Thanks.