You are viewing a single comment's thread. Return to all comments →
mod method:
for i in range(int(input())): print(int((123456789 - 123456789 % 10 ** (8 - i)) * 10 ** (-8 + i * 2)) + 87654321 % 10 ** i)
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest 2
You are viewing a single comment's thread. Return to all comments →
mod method: