A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/327751.html below:

List of integers & L.I.S. (SPOILER)

List of integers & L.I.S. (SPOILER) List of integers & L.I.S. (SPOILER)n00m n00m at narod.ru
Fri Sep 9 07:17:23 EDT 2005
Oh!
Seems you misunderstand me!
See how the last block in your code should look:

for tc in range(10):
    _ = stdin.readline()
    sequence = [int(ch) for ch in stdin.readline().split()]
    supers = supernumbers(sequence)
    print len(supers)
    for i in supers:
         print i,


When I submitted it (for the 1st time) without
> for tc in range(10):
the e-judge counted the output of your code as
Wrong Answer; just because the e-judge got an answer
for only the very 1st testcase (I think in it was not
too large input data).


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4