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.
So, if we have N = 4 and K = 1. Is the number 1908/8904 = 108/804 valid? Note that I'm not "cancelling" number zero and there's no trailing zeros in the original fraction.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #33: Digit canceling fractions
You are viewing a single comment's thread. Return to all comments →
So, if we have N = 4 and K = 1. Is the number 1908/8904 = 108/804 valid? Note that I'm not "cancelling" number zero and there's no trailing zeros in the original fraction.