Back to task

91 symbols python2
Sun Jul 24 14:12:33 2016 Sait2000
m=[0]
for _ in[0]*input():m+=~-max(m[-j*j]for j in range(-int(len(m)**0.5),0)),
print-m[-1]


Leave a comment

Parsed as Markdown

Login to leave a comment