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.
Tip for anyone stuck on this: don't just look at the first example, theres a second one as sample input at the bottom. Playing optimally doesn't necessarily mean using the biggest factor
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tower Breakers
You are viewing a single comment's thread. Return to all comments →
Tip for anyone stuck on this: don't just look at the first example, theres a second one as sample input at the bottom. Playing optimally doesn't necessarily mean using the biggest factor