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.
Project Euler #104: Pandigital Fibonacci ends
Project Euler #104: Pandigital Fibonacci ends
Sort by
recency
|
9 Discussions
|
Please Login in order to post a comment
I think the key here is try to avoid bigint, passed all test cases in python3.
a, b, k = int(input()), int(input()), int(input()) n = 2 sum1 = a + b while n < 2 * (10 ** 6): n += 1 q = list(str(sum1))
if (n == 2 * (10 ** 6) - 1): print("no solution")
run time error LOL a, b, k = int(input()), int(input()), int(input()) n = 2 sum1 = a + b while n < 2 * (10 ** 6): n += 1 q = list(str(sum1))
if (n == 2 * (10 ** 6) - 1): print("no solution")
anyone done using python?
How do I view the output of the testing?