You are viewing a single comment's thread. Return to all comments →
Here's fastest python code.
# Enter your code here. Read input from STDIN. Print output to STDOUT import math N = int(input()) for i in range(1, 10): if int(math.log10(i) * N) == N - 1: print(i ** N)
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #63: Powerful digit counts
You are viewing a single comment's thread. Return to all comments →
Here's fastest python code.