TPK algorithm: Difference between revisions

Content deleted Content added
Ricvelozo (talk | contribs)
Ricvelozo (talk | contribs)
Line 76:
 
a = [float(input()) for _ in range(11)]
for i, t in reversed(list(enumerate(a))):
i = 10
for t in reversed(a):
y = f(t)
if y > 400:
Line 83 ⟶ 82:
else:
print(i, y)
i -= 1
</syntaxhighlight>