You need to sign in or sign up before continuing.
Commit f71626a1 authored by Roshan Rabinarayan's avatar Roshan Rabinarayan

updated q1

parent c5b3ed4b
import functools as ft
import sys
import math
def Fib(n):
uniq = ft.reduce(lambda x,y: x.union(y), map(lambda x: set(range(x*x, n+1, x)), filter(lambda x: x*x<=n, range(2, n+1))), set())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment