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.
Accordinng to the problem description if we calculate the resilience of d = 9, we see that
R(9) = 2/8 < 4/10.
If so then, d = 9 should be the smallest denominator for which R(d) < 4/10
But in the example given in problem description d = 12 is considered as smallest denominator having a resilience R(d) < 4/10. Am I interpreting the problem wrongly ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #243: Resilience
You are viewing a single comment's thread. Return to all comments →
Accordinng to the problem description if we calculate the resilience of d = 9, we see that R(9) = 2/8 < 4/10. If so then, d = 9 should be the smallest denominator for which R(d) < 4/10 But in the example given in problem description d = 12 is considered as smallest denominator having a resilience R(d) < 4/10. Am I interpreting the problem wrongly ?