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.
WA on 4, 6-20. My algorithm is pretty general; not a lot of special cases. I think it might be getting hung up on numerical accuracy. Can anyone suggest some interesting test cases?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #144: Investigating multiple reflections of a laser beam.
You are viewing a single comment's thread. Return to all comments →
WA on 4, 6-20. My algorithm is pretty general; not a lot of special cases. I think it might be getting hung up on numerical accuracy. Can anyone suggest some interesting test cases?