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.
I first sorted results in numerical order, failing test cases # 5, 8, 9, and 11-21. Then I read the problem description again, found that results should be sorted in alphabetical order, which let me pass all of the 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 #68: Magic N-gon ring
You are viewing a single comment's thread. Return to all comments →
I first sorted results in numerical order, failing test cases # 5, 8, 9, and 11-21. Then I read the problem description again, found that results should be sorted in alphabetical order, which let me pass all of the test cases.