We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. All Contests
  2. ProjectEuler+
  3. Project Euler #239: Twenty-two Foolish Primes
  4. Discussions

Project Euler #239: Twenty-two Foolish Primes

Problem
Submissions
Leaderboard
Discussions

Sort 7 Discussions, By:

recency

Please Login in order to post a comment

  • atammy
    3 years ago+ 0 comments

    A hint, if you will: All solutions that ya'll tryn'na google are incorrect. Bruteforcing using itertools is not going to work at all.

    A better hint: try to solve this by intelligently counting derangements and partial derangements.

    0|
    Permalink
  • abhishek_andy_b1
    3 years ago+ 0 comments

    can anyone please help me with the probability explanation??

    0|
    Permalink
  • sanjay_02_aug_11
    3 years ago+ 0 comments

    Who is here becaue of George Hotz??

    15|
    Permalink
  • srikanthkv
    3 years ago+ 0 comments

    Still did not understand how 89/315 % 109 + 123 = 498412760. Can somebody explain?

    1|
    Permalink
  • akuishere85
    4 years ago+ 0 comments

    Didn't get question!

    2|
    Permalink
Load more conversations

Need Help?


View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy