Commit 393086f5 by BellCodeEditor

auto save

parent b16f38f3
i=0
while i<99999:
i+=1
j=i//10000
k=(i-j*10000)//1000
l=(i-j*10000-k*1000)//100
m=i-j*10000-k*100-l*10
if j**4+k**4+l**4+m**4==i and j!=0:
print(i)
\ No newline at end of file
b=0
start=1
a=1
c=0
while True:
start=a
a=b
b=start+a
c+=1
print(str(b)+"\n")
if b>=7000000000:
print(c)
exit()
def func(n):
if n<=2:
return 1
elif n>2:
value=func(n-1)+func(n-2)
return value
\ No newline at end of file
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 sign in to comment