You are viewing a single comment's thread. Return to all comments →
num can be as large as 10**9, think about taking power of a number in a fast way..
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Sherlock and Square
You are viewing a single comment's thread. Return to all comments →
num can be as large as 10**9, think about taking power of a number in a fast way..