Osahon Usuanlele
Followers: 0 Following: 0
Feeds
已回答
Out of memory Problem [Problem 2 , Project Euler (Sum of even Fibonacci numbers)]
def fibs(num): arr = [1,1] count = 1 while count < num - 1: arr.append(arr[len(arr)-1] + arr[len(arr)-2]) count+=1 ...
Out of memory Problem [Problem 2 , Project Euler (Sum of even Fibonacci numbers)]
def fibs(num): arr = [1,1] count = 1 while count < num - 1: arr.append(arr[len(arr)-1] + arr[len(arr)-2]) count+=1 ...
4 years 前 | 0