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
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. All Contests
  2. ProjectEuler+
  3. Project Euler #232: The Race
  4. Discussions

Project Euler #232: The Race

Problem
Submissions
Leaderboard
Discussions

Sort 21 Discussions, By:

votes

Please Login in order to post a comment

  • Wdbceg
    3 years ago+ 0 comments

    The query q and denominator q being the same letter is really confusing !!

    26|
    Permalink
  • randhirsingh051
    3 years ago+ 1 comment

    Why is this in the easy section? lol

    20|
    Permalink
  • JimZer
    3 years ago+ 1 comment

    I managed to solve the problem on the Project Euler webpage. However my solution are decimals like: 0.33333333333 for the example given here (with 1 as input). How is it possible to recover the rational expression (fraction of integer a/b) from my result to then express it in the weird modulo formulation as asked in the problem statement? I'm confused

    4|
    Permalink
  • chiken
    3 years ago+ 6 comments

    Maybe I'm a fool but I am completely lost on how the answer is 1/3.

    4|
    Permalink
    View more Comments..
  • aKn1ghtOut
    3 years ago+ 0 comments

    On each turn Player 2 selects the number, T , of coin tosses that maximises the probability of her winning. How do we get this value of T, now?

    1|
    Permalink
Load more conversations

Need Help?


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