Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
TPK algorithm: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 03:31, 9 December 2023
edit
Ricvelozo
(
talk
|
contribs
)
488
edits
→
Implementations in more recent languages
← Previous edit
Revision as of 14:37, 21 March 2024
edit
undo
Frap
(
talk
|
contribs
)
Extended confirmed users
,
File movers
,
Pending changes reviewers
,
Rollbackers
35,595
edits
m
→
Python implementation
Next edit →
Line 96:
for i, t in reversed(list(enumerate(a))):
y = f(t)
print(i,
'
"
TOO LARGE
'
"
if y > 400 else y)
</syntaxhighlight>