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.
Test case 0 successfully run but got timeout for rest of the testcases. I am working with JAVA8.
My approach to solve it like -
prepare data in a array that σ₂(n) far from perfect square. but for every test case i need to add indexes with respect to k.
Any clue that how can we resolve this?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #211: Divisor Square Sum
You are viewing a single comment's thread. Return to all comments →
Test case 0 successfully run but got timeout for rest of the testcases. I am working with JAVA8.
My approach to solve it like - prepare data in a array that σ₂(n) far from perfect square. but for every test case i need to add indexes with respect to k.
Any clue that how can we resolve this?