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.
In anomalous cancellation (as discussed in the link), you can cancel 0s, so long as they aren't trailing. (1019/5095 == 11/55 is an example.) So it's not quite the same.
In the article, trailing 0s are not allowed... but this isn't stated, just implied by the examples. In other words, the article is almost as vague as this challenge. Truly a "figure out wtf the author is thinking" situation.
Project Euler #33: Digit canceling fractions
You are viewing a single comment's thread. Return to all comments →
In anomalous cancellation (as discussed in the link), you can cancel 0s, so long as they aren't trailing. (1019/5095 == 11/55 is an example.) So it's not quite the same.
In the article, trailing 0s are not allowed... but this isn't stated, just implied by the examples. In other words, the article is almost as vague as this challenge. Truly a "figure out wtf the author is thinking" situation.