You are viewing a single comment's thread. Return to all comments →
math solution
print(round(((-101*10 ** i + 10 ** (2 * i + 1) + 10) / 8100 + 10 ** (i - 2)) * 10))
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Triangle Quest 2
You are viewing a single comment's thread. Return to all comments →
math solution