TPK algorithm: Difference between revisions

Content deleted Content added
corrected for python style
python golf
Line 41:
def f(t):
return sqrt(abs(t))+5*t**3
a = [int(raw_input()) for i in range(11):]
a = []
for i in range(11):
a.append(int(raw_input()))
for i in range(10,-1,-1):
y = f(a[i])