s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s568059693 | p02407 | u651428295 | 1441764493 | Python | Python3 | py | Runtime Error | 20 | 7712 | 153 | input()
i = list(map(int, input().split()))
i.reverse()
for j in range(len(i) - 1) :
print('{} '.format(i[j]), end = '')
print('{}'.format(i[j + 1])) | Traceback (most recent call last):
File "/tmp/tmp9dr9qnsq/tmpxshdslen.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s508212359 | p02407 | u224288634 | 1444191221 | Python | Python | py | Runtime Error | 0 | 0 | 127 | n = input()
a_n = map(int,raw_input().split())
j = -1
for i in range(n):
print(??? ???),
sys.stdout.write(str(a_n[j])
j -= 1 | File "/tmp/tmpbyhgwu8g/tmp2borou9c.py", line 5
print(??? ???),
^
SyntaxError: invalid syntax
| |
s895159964 | p02407 | u224288634 | 1444191560 | Python | Python | py | Runtime Error | 0 | 0 | 123 | n = input()
a_n = map(int,raw_input().split())
j = -1
for i in range(n):
print '\b',
sys.stdout.write(str(a_n[j])
j -= 1 | File "/tmp/tmpoywlsrdb/tmpvjo996di.py", line 5
print '\b',
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s775568376 | p02407 | u613805578 | 1454466875 | Python | Python | py | Runtime Error | 0 | 0 | 74 | n=input()
a=map(int,raw_input().split())
a.reverse()
for i in a
print i | File "/tmp/tmpbqhsr47d/tmppjcxrffb.py", line 4
for i in a
^
SyntaxError: expected ':'
| |
s347642457 | p02407 | u532962080 | 1454467002 | Python | Python | py | Runtime Error | 0 | 0 | 113 | n=input_raw()
x=map(int,raw_input().split())
for i in range(len(x), 1):
print "%d " %(x[i])
print "%d" %(x[0]) | File "/tmp/tmpqn7vssu5/tmpf7rpm5so.py", line 5
print "%d " %(x[i])
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s174138767 | p02407 | u532962080 | 1454467311 | Python | Python | py | Runtime Error | 0 | 0 | 89 | n=input_raw()
x=map(int,raw_input().split())
for i in reversed(len(x), 1):
print x[i], | File "/tmp/tmpxpw4qmw_/tmpgdyy0r5_.py", line 5
print x[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s929037049 | p02407 | u532962080 | 1454467329 | Python | Python | py | Runtime Error | 0 | 0 | 89 | n=raw_input()
x=map(int,raw_input().split())
for i in reversed(len(x), 1):
print x[i], | File "/tmp/tmpxu6gfkz9/tmpu2fao63m.py", line 5
print x[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s183085671 | p02407 | u532962080 | 1454467474 | Python | Python | py | Runtime Error | 0 | 0 | 80 | n=raw_input()
x=raw_input().split()
for i in reversed(len(x), 1):
print x[i], | File "/tmp/tmps_5hh8kn/tmpp4o7ozan.py", line 5
print x[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s705332468 | p02407 | u532962080 | 1454467488 | Python | Python | py | Runtime Error | 0 | 0 | 77 | n=raw_input()
x=raw_input().split()
for i in reversed(len(x)):
print x[i], | File "/tmp/tmp9mbfe0eo/tmpxuqb53_p.py", line 5
print x[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s827657977 | p02407 | u532962080 | 1454467589 | Python | Python | py | Runtime Error | 0 | 0 | 86 | n=raw_input()
x=raw_input().split()
for i in reversed(xrange((len(x))):
print x[i], | File "/tmp/tmpk3hhb0tx/tmpkipweobk.py", line 4
for i in reversed(xrange((len(x))):
^
SyntaxError: invalid syntax
| |
s786656253 | p02407 | u532962080 | 1454467598 | Python | Python | py | Runtime Error | 0 | 0 | 84 | n=raw_input()
x=raw_input().split()
for i in reversed(xrange(len(x)):
print x[i], | File "/tmp/tmp_wcwz4qh/tmpy1ymrfze.py", line 4
for i in reversed(xrange(len(x)):
^
SyntaxError: invalid syntax
| |
s939315185 | p02407 | u532962080 | 1454467798 | Python | Python | py | Runtime Error | 0 | 0 | 59 | n=raw_input()
x=raw_input().split()
x(reversed(range(10))) | Traceback (most recent call last):
File "/tmp/tmpx7b782o_/tmpnbauoaxn.py", line 1, in <module>
n=raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s057205496 | p02407 | u532962080 | 1454467837 | Python | Python | py | Runtime Error | 0 | 0 | 45 | x=raw_input().split()
x(reversed(range(10))) | Traceback (most recent call last):
File "/tmp/tmpf6r_ylb2/tmpjwn0dew_.py", line 1, in <module>
x=raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s360860862 | p02407 | u532962080 | 1454467861 | Python | Python | py | Runtime Error | 0 | 0 | 49 | x=raw_input().split()
x(reversed(range(len(x)))) | Traceback (most recent call last):
File "/tmp/tmp21mug7f9/tmpgff38gt5.py", line 1, in <module>
x=raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s508091419 | p02407 | u532962080 | 1454467880 | Python | Python | py | Runtime Error | 0 | 0 | 50 | x=raw_input().split()
x(reversed(xrange(len(x)))) | Traceback (most recent call last):
File "/tmp/tmpuy13vzky/tmpx8u7e0qd.py", line 1, in <module>
x=raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s787704407 | p02407 | u532962080 | 1454468014 | Python | Python | py | Runtime Error | 0 | 0 | 59 | x=raw_input().split()
for i in range(len(x))
print x[::-1] | File "/tmp/tmp4um1hw7b/tmp0d38i5pl.py", line 3
for i in range(len(x))
^
SyntaxError: expected ':'
| |
s602264258 | p02407 | u532962080 | 1454468023 | Python | Python | py | Runtime Error | 0 | 0 | 60 | x=raw_input().split()
for i in range(len(x))
print x[::-1], | File "/tmp/tmpoxbkzrca/tmpnp160a2b.py", line 3
for i in range(len(x))
^
SyntaxError: expected ':'
| |
s938431768 | p02407 | u532962080 | 1454468050 | Python | Python | py | Runtime Error | 0 | 0 | 61 | x=raw_input().split()
for i in range(len(x)):
print x[::-1], | File "/tmp/tmpzx0ryim5/tmpgopp65mo.py", line 4
print x[::-1],
^
IndentationError: expected an indented block after 'for' statement on line 3
| |
s572949540 | p02407 | u532962080 | 1454468242 | Python | Python | py | Runtime Error | 0 | 0 | 70 | x=raw_input().split()
for i in reversed(range(len(x)):
print x[::-1], | File "/tmp/tmpidccz77w/tmps1c0z5jn.py", line 3
for i in reversed(range(len(x)):
^
SyntaxError: invalid syntax
| |
s250561502 | p02407 | u532962080 | 1454468251 | Python | Python | py | Runtime Error | 0 | 0 | 66 | x=raw_input().split()
for i in reversed(range(len(x)):
print x[i] | File "/tmp/tmpvkxb7rf9/tmpi3rvb0m5.py", line 3
for i in reversed(range(len(x)):
^
SyntaxError: invalid syntax
| |
s300786958 | p02407 | u532962080 | 1454468363 | Python | Python | py | Runtime Error | 0 | 0 | 71 | x=map(raw_input().split())
for i in reversed(range(len(x)):
print x[i] | File "/tmp/tmp8bzuq6qj/tmpc2_t212v.py", line 3
for i in reversed(range(len(x)):
^
SyntaxError: invalid syntax
| |
s624518184 | p02407 | u920118302 | 1454639167 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | n = int(input())
a = map(int, input().split())
for i in range(1, n+1):
print(str(a[-i]) + " ", end = "")
print() | Traceback (most recent call last):
File "/tmp/tmpve03xgfz/tmpyzsq86ez.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s393029078 | p02407 | u920118302 | 1454639430 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | n = int(input())
a = map(int, input().split())
for i in range(1, n):
print(str(n[-i]) + " ", end="")
print(n[0]) | Traceback (most recent call last):
File "/tmp/tmpdzdya46k/tmpma17sgr1.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s827901971 | p02407 | u920118302 | 1454639463 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | n = int(input())
a = map(int, input().split())
for i in range(1, n):
print(str(a[-i]) + " ", end="")
print(a[0]) | Traceback (most recent call last):
File "/tmp/tmpcx76zfuq/tmpa0re9cfb.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s446790088 | p02407 | u724923896 | 1454727887 | Python | Python | py | Runtime Error | 0 | 0 | 105 | n = raw_input()
for i in range(0, n):
a = input()
A(n-i) = a
for j in range(0, n):
print A(j), | File "/tmp/tmp4_zecx9i/tmpvip55ipl.py", line 5
A(n-i) = a
^^^^^^
SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
| |
s916254169 | p02407 | u724923896 | 1454728110 | Python | Python | py | Runtime Error | 0 | 0 | 90 | n = raw_input()
a = map(int, raw_input().split())
for i in range(0, n):
print A(n-i), | File "/tmp/tmpnmzy2g3c/tmp2str2z2k.py", line 5
print A(n-i),
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s073385601 | p02407 | u724923896 | 1454728191 | Python | Python | py | Runtime Error | 0 | 0 | 93 | n = raw_input()
a = map(int, raw_input().split())
for i in range(0, n):
print a(n-i-1), | File "/tmp/tmp4_5c4511/tmpu5fxiyy4.py", line 5
print a(n-i-1),
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s802855153 | p02407 | u724923896 | 1454728333 | Python | Python | py | Runtime Error | 0 | 0 | 90 | n = input()
a = map(int, raw_input().split())
for i in range(0, n):
print a(n-i-1), | File "/tmp/tmpo4q358w7/tmpiq98wy7u.py", line 5
print a(n-i-1),
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s547707668 | p02407 | u724923896 | 1454728649 | Python | Python | py | Runtime Error | 0 | 0 | 94 | n = raw_input()
a = map(int, raw_input().split())
for i in range(0, n):
print a[n-i-1], | File "/tmp/tmpwlh7chxh/tmp76cepih4.py", line 5
print a[n-i-1],
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s565176122 | p02407 | u967035362 | 1454943482 | Python | Python | py | Runtime Error | 0 | 0 | 54 | input()
l = raw_input().split()
print " ".join(l[::-1] | File "/tmp/tmp4aed7owg/tmplmhydgsd.py", line 3
print " ".join(l[::-1]
^
SyntaxError: '(' was never closed
| |
s768623112 | p02407 | u233232390 | 1455000105 | Python | Python | py | Runtime Error | 0 | 0 | 126 | n = input()
l = map(int, raw_input().split())
a = []
for i in range(len(n))
a.append(l[n - 1])
print ' '.join(map(str, a)) | File "/tmp/tmpuvdwqrgw/tmpwweg65c7.py", line 4
for i in range(len(n))
^
SyntaxError: expected ':'
| |
s519074842 | p02407 | u233232390 | 1455000234 | Python | Python | py | Runtime Error | 0 | 0 | 96 | n = int(raw_input())
a = map(int,raw_input().split())
a.reverse()
for i in range(a):
print i | File "/tmp/tmpzz6njsrn/tmpbcp45b22.py", line 5
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s098823996 | p02407 | u233232390 | 1455000322 | Python | Python | py | Runtime Error | 0 | 0 | 101 | n = int(raw_input())
a = map(int,raw_input().split())
a.reverse()
for i in range(len(n)):
print a | File "/tmp/tmpjz8ah_se/tmplatpmry8.py", line 5
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s542013935 | p02407 | u619765879 | 1455011666 | Python | Python | py | Runtime Error | 0 | 0 | 109 | import sys
n = input()
a = map(int, raw_input().split())
for i in range(n)
sys.stdout.write('%d ') % a[n-1] | File "/tmp/tmp2ds0_tki/tmpjzb6jfmr.py", line 4
for i in range(n)
^
SyntaxError: expected ':'
| |
s213898281 | p02407 | u619765879 | 1455011677 | Python | Python | py | Runtime Error | 0 | 0 | 110 | import sys
n = input()
a = map(int, raw_input().split())
for i in range(n):
sys.stdout.write('%d ') % a[n-1] | Traceback (most recent call last):
File "/tmp/tmpsiaph2gi/tmphi4sz1bv.py", line 2, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s884011731 | p02407 | u619765879 | 1455011694 | Python | Python | py | Runtime Error | 0 | 0 | 108 | import sys
n = input()
a = map(int, raw_input().split())
for i in range(n):
sys.stdout.write('%d ') % a[i] | Traceback (most recent call last):
File "/tmp/tmpn0kbntdn/tmp7y980wok.py", line 2, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s876538125 | p02407 | u619765879 | 1455011708 | Python | Python | py | Runtime Error | 0 | 0 | 110 | import sys
n = input()
a = map(int, raw_input().split())
for i in range(n):
sys.stdout.write('%d ' % a[n-i]) | Traceback (most recent call last):
File "/tmp/tmpecp1mn3l/tmpzyypduz7.py", line 2, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s482197012 | p02407 | u619765879 | 1455011787 | Python | Python | py | Runtime Error | 0 | 0 | 151 | import sys
n = input()
a = map(int, raw_input().split())
for i in range(n):
sys.stdout.write('%d' % a[n-i-1])
if i != n-1
sys.stdout.write(' ') | File "/tmp/tmp9snvm5gq/tmple7sfp7f.py", line 6
if i != n-1
^
SyntaxError: expected ':'
| |
s532725825 | p02407 | u532962080 | 1455013520 | Python | Python | py | Runtime Error | 0 | 0 | 90 | n = int(raw_input())
a = map(int,raw_input().split())
a.reverse()
for i in n:
print i, | File "/tmp/tmpygg8kpwc/tmpkllav2d0.py", line 5
print i,
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s046015081 | p02407 | u834416077 | 1455018332 | Python | Python | py | Runtime Error | 0 | 0 | 97 | n = int(raw_input())
a = map(int, raw_input().split())
for i in range(n):
print "%d" %(a[n-i]) | File "/tmp/tmp_uv8c5g8/tmplkt0aie3.py", line 5
print "%d" %(a[n-i])
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s053634484 | p02407 | u834416077 | 1455018458 | Python | Python | py | Runtime Error | 0 | 0 | 90 | n = int(raw_input())
a = map(int, raw_input().split())
for i in range(n):
print a[n-i], | File "/tmp/tmpq_0txedl/tmpth97xvy4.py", line 5
print a[n-i],
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s839936557 | p02407 | u663227983 | 1455024661 | Python | Python | py | Runtime Error | 0 | 0 | 198 | import sys
n = input()
m = map(int, raw_input().split())
m2 = [0 for i in xrange(n)]
for i in xrange(n):
m2[n-i-1] = m[i]
for i in xrange(n):
stdout.write(str(m2[i]))
stdout.write(" ") | Traceback (most recent call last):
File "/tmp/tmpqc_qym71/tmphoa9q7k9.py", line 2, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s620754091 | p02407 | u177295149 | 1455101574 | Python | Python | py | Runtime Error | 0 | 0 | 89 | n = raw_input()
a = map(int, raw_input().split())
for i in range(n):
print a[-i-1], | File "/tmp/tmpkmw2dsye/tmp8np4jk6i.py", line 5
print a[-i-1],
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s531119552 | p02407 | u148101999 | 1456479895 | Python | Python | py | Runtime Error | 0 | 0 | 186 | while True:
sute = map(int,raw_input().split())
num = map(int,raw_input().split())
for i in range(len(num) - 1):
print "%d" % num[len(num) - i - 1],
print num[0] | File "/tmp/tmppeal7j6h/tmp438rhhv6.py", line 5
print "%d" % num[len(num) - i - 1],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s768899622 | p02407 | u894114233 | 1456847331 | Python | Python | py | Runtime Error | 0 | 0 | 71 | n=input()
a=map(int,raw_input().split())
a.reverse()
print(' '.join(a)) | Traceback (most recent call last):
File "/tmp/tmpv3qmpmta/tmpdncodoir.py", line 1, in <module>
n=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s345015104 | p02407 | u332767892 | 1460954833 | Python | Python | py | Runtime Error | 0 | 0 | 332 | class ReversingNumbers:
def output(self, a):
s = ""
a.reverse()
for i in range(len(a)-1):
s += "%d " % (a[i])
s += "%d" % (a.index(len(a)-1))
print s
if __name__ == "__main__":
rn = ReversingNumbers()
raw_input()
a = map(int, raw_input().split())
... | File "/tmp/tmppu9k392z/tmp_sxwx0y6.py", line 8
print s
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s433543258 | p02407 | u332767892 | 1460955167 | Python | Python | py | Runtime Error | 0 | 0 | 332 | class ReversingNumbers:
def output(self, a):
s = ""
a.reverse()
for i in range(len(a)-1):
s += "%d " % (a[i])
s += "%d" % (a.index(len(a)-1))
print s
if __name__ == "__main__":
rn = ReversingNumbers()
raw_input()
a = map(int, raw_input().split())
... | File "/tmp/tmpt4eecduj/tmpsj3l9eha.py", line 8
print s
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s810825841 | p02407 | u762833208 | 1461724392 | Python | Python | py | Runtime Error | 0 | 0 | 84 | n = input()
lst = map(int,raw_input().split())
for i in range(n):
print lst[n-1+i], | File "/tmp/tmp0pu_mfzp/tmp13343sq4.py", line 4
print lst[n-1+i],
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s438828334 | p02407 | u762833208 | 1461728212 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print " ".join(lst[::-1]) | File "/tmp/tmpspydj2il/tmp1tj0brt6.py", line 3
print " ".join(lst[::-1])
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s443200970 | p02407 | u762833208 | 1461728439 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print " ".join(lst[::-1]) | File "/tmp/tmpay_0kswh/tmpxm7kal77.py", line 3
print " ".join(lst[::-1])
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s815120283 | p02407 | u762833208 | 1461728747 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print ' '.join(lst[::-1]) | File "/tmp/tmppcjz4zko/tmp1cxv7u3o.py", line 3
print ' '.join(lst[::-1])
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s608053757 | p02407 | u003309334 | 1462498139 | Python | Python | py | Runtime Error | 10 | 6420 | 147 | import sys
n = input()
ai = raw_input()
ai = map(int, ai.split())
for i in reversed(range(1, n)):
sys.stdout.write(str(ai[i])+" ")
print ai[i-1] | File "/tmp/tmpan8tpnnm/tmpl_wl1zqh.py", line 9
print ai[i-1]
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s846126026 | p02407 | u104931506 | 1464526921 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | input()
A = [i for i in input().split()]
A.reverse()
print(' '.join(A))a | File "/tmp/tmp5twrp22t/tmpv3kypdjg.py", line 4
print(' '.join(A))a
^
SyntaxError: invalid syntax
| |
s086401053 | p02407 | u104931506 | 1464526935 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | input()
A = [i for i in input().split()]
A.reverse()
print(' '.join(A)) | File "/tmp/tmp0rhwk0ch/tmptsnav_zw.py", line 1
input()
IndentationError: unexpected indent
| |
s166573211 | p02407 | u853165039 | 1469537767 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | n = int(input())
list = [i for i in input().split()].reverse()
print(" ".join(list)) | Traceback (most recent call last):
File "/tmp/tmpkbq3me4j/tmpe0cnwpqe.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s863178577 | p02407 | u587193722 | 1469631424 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | x = int(input())
y = [int(i) for i in input().split()]
print("{0}".format(x3),end='')
for i in range(x-2, 0-1, -1):
print(' {0}'.format(y[i]), end='') | Traceback (most recent call last):
File "/tmp/tmps82fz3wf/tmpccihd5ha.py", line 1, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s652235748 | p02407 | u587193722 | 1469683904 | Python | Python3 | py | Runtime Error | 0 | 0 | 57 | input()
a = input().split()
a.reverse()
print(" "join(a)) | File "/tmp/tmp9mgvupw5/tmpt6lbeghm.py", line 4
print(" "join(a))
^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s424396214 | p02407 | u085472528 | 1469683908 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | put()
a = input().split()
a.reverse()
print(" ".join(a)) | Traceback (most recent call last):
File "/tmp/tmp26y55b63/tmpc103q6d_.py", line 1, in <module>
put()
^^^
NameError: name 'put' is not defined
| |
s718648756 | p02407 | u514745787 | 1469685315 | Python | Python3 | py | Runtime Error | 0 | 0 | 215 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
print("\n".join(data)) | Traceback (most recent call last):
File "/tmp/tmpo_ullsow/tmppqn7i026.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s506808896 | p02407 | u514745787 | 1469685390 | Python | Python3 | py | Runtime Error | 0 | 0 | 215 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
print("\n".join(data)) | Traceback (most recent call last):
File "/tmp/tmpr1vds4yb/tmp5xrd324k.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s692550496 | p02407 | u514745787 | 1469685426 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmpqjtjno6r/tmptd224r_r.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s406997416 | p02407 | u514745787 | 1469685443 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmpp0921e1_/tmpmowgve2d.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s532406640 | p02407 | u514745787 | 1469685473 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmph242kgis/tmprdpjwud4.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s696365972 | p02407 | u514745787 | 1469685582 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmpvzu2gxrq/tmpbfgq8gvn.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s940965941 | p02407 | u514745787 | 1469685598 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmp_oidxvgz/tmpo2aorh2c.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s256389226 | p02407 | u514745787 | 1469685606 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmpnvmdkmxp/tmpeuoopgmi.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s255192532 | p02407 | u514745787 | 1469685636 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmp3aqfy2pq/tmpsgzamxki.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s515322767 | p02407 | u514745787 | 1469685677 | Python | Python3 | py | Runtime Error | 0 | 0 | 218 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmp0i5_ohc9/tmpmx_vo81x.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s211618403 | p02407 | u514745787 | 1469685792 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | data = [
"{0} {1}".format(s, r)
for s in ('S', 'H', 'C', 'D')
for r in range(1, 13 + 1)
]
count = int(input())
for c in range(count):
card = input()
data.remove(card)
for c in data:
print(c) | Traceback (most recent call last):
File "/tmp/tmpcnjkk4iq/tmp4ky8blip.py", line 7, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s007795076 | p02407 | u135273382 | 1474781214 | Python | Python3 | py | Runtime Error | 0 | 0 | 71 | n = int(input())
l = map(int, input().split())
print(n)
print(l[::-1]) | Traceback (most recent call last):
File "/tmp/tmp1sgausuc/tmpvj_fy32z.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s735649568 | p02407 | u135273382 | 1474781294 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | n = int(input())
l = map(int, input().split())
print (n)
print (l[::-1]) | Traceback (most recent call last):
File "/tmp/tmpw992s2_f/tmp0jnq80di.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s294991077 | p02407 | u135273382 | 1474781317 | Python | Python3 | py | Runtime Error | 0 | 0 | 63 | n = int(input())
l = map(int, input().split())
print(l[::-1]) | Traceback (most recent call last):
File "/tmp/tmp1qpss1d8/tmpzzvy0xir.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s429724073 | p02407 | u135273382 | 1474781337 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | n = int(input())
l = map(int, input().split())
print(l[::-1]) | Traceback (most recent call last):
File "/tmp/tmpbbby3iks/tmpwbrndlbk.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s491982520 | p02407 | u135273382 | 1475213306 | Python | Python3 | py | Runtime Error | 0 | 0 | 98 | n = input()
a = map(int, raw_input().split())
for i in range(len(a)-1,-1,-1):
print a[i],
| File "/tmp/tmpxn85t3ji/tmprpoib28o.py", line 4
print a[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s161326607 | p02407 | u135273382 | 1475213369 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | n = input()
a = map(int, raw_input().split())
for i in range(len(a)-1,-1,-1):
print a[i],
print ""
| File "/tmp/tmpp1pacjcc/tmp645tqlcd.py", line 4
print a[i],
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s803479707 | p02407 | u237991875 | 1476502954 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | a = list(map(int, input().split()))
a.reverse()
a = list(map(str,a)
print(" ".join(a)) | File "/tmp/tmp9ah5fm6l/tmp09ugdn71.py", line 3
a = list(map(str,a)
^
SyntaxError: '(' was never closed
| |
s251204447 | p02407 | u801346721 | 1476758377 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | n = int(input())
a = map(int, input().split())
for i in range(0, n):
print(a[n - i], end = ' ')
print() | Traceback (most recent call last):
File "/tmp/tmp1jjtlgwj/tmpzunzf396.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s457893381 | p02407 | u801346721 | 1476758405 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | n = int(input())
a = map(int, input().split())
for i in range(0, n):
print(a[n - 1 - i], end = ' ')
print() | Traceback (most recent call last):
File "/tmp/tmpmetwllwg/tmpjbrkcspq.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s266448524 | p02407 | u996758922 | 1477141645 | Python | Python3 | py | Runtime Error | 0 | 0 | 501 | while True:
l = input().split()
h = int(l[0])
w = int(l[1])
if h == 0 and w ==0:
break
flag = 0
for i in range(h*(w+1)):
if (i+1) % (w+1) == 0:
print("")
if w % 2 == 0:
flag += 1
if i == h*(w+1)-1:
pr... | Traceback (most recent call last):
File "/tmp/tmpfrpye8wf/tmp85he5juo.py", line 3, in <module>
l = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s887031664 | p02407 | u831244171 | 1477535510 | Python | Python | py | Runtime Error | 0 | 0 | 117 | n = input()
a = map(int,raw_input().split())
b = a.reverse()
print b.replace("[","").replace(","," ").replace("[","") | File "/tmp/tmpkxfboq69/tmpbv69sc7w.py", line 4
print b.replace("[","").replace(","," ").replace("[","")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s376722154 | p02407 | u236295012 | 1477786075 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | n = int(input())
x = input().split()
x_int = [int(i) for i in x]
y = list(range(n))
for i in x_int:
y[-i] = i
print(y) | Traceback (most recent call last):
File "/tmp/tmpzwgdg6p2/tmpfnw_1sdf.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s643990100 | p02407 | u236295012 | 1477793070 | Python | Python3 | py | Runtime Error | 0 | 0 | 174 | n = int(input())
x = input().split()
x_int = [int(i) for i in x]
y = list(range(n))
for i in range(n):
y[-i-1] = x_int[i]
for i in y:
print('{} 'format(i),end = '') | File "/tmp/tmpmg39if57/tmp7w1_8a0b.py", line 9
print('{} 'format(i),end = '')
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s845757752 | p02407 | u236295012 | 1477793093 | Python | Python3 | py | Runtime Error | 0 | 0 | 182 | n = int(input())
x = input().split()
x_int = [int(i) for i in x]
y = list(range(n))
for i in range(n):
y[-i-1] = x_int[i]
for i in y:
print('{} 'format(i),end = '')
print() | File "/tmp/tmpw6437zfx/tmp3q79vtdb.py", line 9
print('{} 'format(i),end = '')
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s335937777 | p02407 | u635647915 | 1478909889 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | #coding:utf-8
import numpy as np
n=int(input())
x=list(map(int,input().split()))
for i in x[::-1]:
print(str(i)+" ",end="")
print("") | Traceback (most recent call last):
File "/tmp/tmpin7poolh/tmpeado0eml.py", line 4, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s327746927 | p02407 | u732614538 | 1481757423 | Python | Python3 | py | Runtime Error | 0 | 0 | 32 | print(a[::-1].rsplit('\n',1)[0]) | Traceback (most recent call last):
File "/tmp/tmpwwq1yxoj/tmpplo7lp3f.py", line 1, in <module>
print(a[::-1].rsplit('\n',1)[0])
^
NameError: name 'a' is not defined
| |
s799186139 | p02407 | u276050131 | 1485605857 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | i = input()
i = int(i)
lis = []
for j in range(i):
f = input()
f = int(f)
lis.append(f)
lis.sort(reverse=True)
print(lis) | Traceback (most recent call last):
File "/tmp/tmpuz2zbbyk/tmpje1050s5.py", line 1, in <module>
i = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s445651968 | p02407 | u144068724 | 1486133418 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | input()
a = input().split()
print(" ".join(a.reverse())) | Traceback (most recent call last):
File "/tmp/tmp13vwup3a/tmprq2e_2z1.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s820710186 | p02407 | u731896389 | 1486398982 | Python | Python | py | Runtime Error | 0 | 0 | 104 | n = int(input())
num = list(map(int,input().split()))
for i in range(n):
print(num[n-i-1],end = " ") | Traceback (most recent call last):
File "/tmp/tmpr5jxwzh4/tmp6tp3prmd.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s071335339 | p02407 | u731896389 | 1486399356 | Python | Python | py | Runtime Error | 0 | 0 | 132 | n = int(input())
num = list(map(int,input().split()))
num.reverse()
for i in range(n-1):
print(num[i],end = " ")
print(num[n-1]) | Traceback (most recent call last):
File "/tmp/tmpae0cjvtf/tmpe1e7g1j4.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s291005252 | p02407 | u548155360 | 1487220059 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | N = int(input())
a = [input() for i in range(N)]
b = []
j = N-1
while j >= 0:
b.append(a[j])
j -= 1
print(b) | Traceback (most recent call last):
File "/tmp/tmpf529hou8/tmpofjqit8r.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s410839263 | p02407 | u024715419 | 1488260321 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | n = int(input())
inp = map(int,input().split())
inp.reverse()
for i in range(n-1):
print(inp[i]," ",sep="",end="")
print(inp[n-1]) | Traceback (most recent call last):
File "/tmp/tmpqxmle2ch/tmp4cl9l056.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s364964825 | p02407 | u024715419 | 1488260466 | Python | Python3 | py | Runtime Error | 0 | 0 | 77 | n = int(input())
inp = map(int,input().split())
inp.reverse()
print(inp[n-1]) | Traceback (most recent call last):
File "/tmp/tmplfnq9_ab/tmpjcvleszd.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s732680413 | p02407 | u024715419 | 1488260489 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | n = int(input())
inp = map(int,input().split())
inp.reverse()
for i in range(n-1):
print(inp[i]," ",sep="",end="") | Traceback (most recent call last):
File "/tmp/tmp7c1gf3yp/tmpzt4d9a5g.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s430772902 | p02407 | u897625141 | 1489478107 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | n = int(input)
a = [int(i) for i in input().split()]
for i in range(n,-1,-1):
if i == 0:
print(a[i])
else:
print(a[i],end=" ") | Traceback (most recent call last):
File "/tmp/tmpqhtj4_21/tmp7z7obd99.py", line 1, in <module>
n = int(input)
^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
| |
s591662273 | p02407 | u606989659 | 1491662138 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | n = int(input())
a_list = list(map(int,input().split))
reversed_a_list = a_list.reverse()
a = ' '.join(reversed_a_list)
print(a) | Traceback (most recent call last):
File "/tmp/tmpowyff089/tmpmu8ugaaq.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s631443227 | p02407 | u606989659 | 1492233505 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | n = input()
a_list == list(map(int,input().split()))
if n == len(a_list):
r_list = reversed(a_list)
numbers = ' '.join(a_list)
print(numbers) | Traceback (most recent call last):
File "/tmp/tmpkvvwm0xr/tmpv8578rfq.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s927724985 | p02407 | u802537549 | 1493871782 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | input()
line = reverse(input().split())
print(' '.join(line)) | Traceback (most recent call last):
File "/tmp/tmpx8v03jyk/tmpm2i8yuhs.py", line 1, in <module>
input()
EOFError: EOF when reading a line
| |
s243217910 | p02407 | u213265973 | 1494302634 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | count = int(input())
array = [int(i) for i in input().split(" ")]
a = array.reverse()
print(" ".join(a)) | Traceback (most recent call last):
File "/tmp/tmp_utgo_1c/tmpcur7o8wn.py", line 1, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s196375333 | p02407 | u999594662 | 1496406393 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | n = int(input())
n_list = [int(i) for i in input().split(" ")]
n_list.reverse()
print(' '.join(map(str, a))) | Traceback (most recent call last):
File "/tmp/tmpntnezne_/tmpkxfaf5i6.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s038576279 | p02407 | u431104056 | 1497533713 | Python | Python | py | Runtime Error | 0 | 0 | 151 | #!/usr/bin/python
n = input()
a = input().split()
a.reverse()
for (i, item) in enumerate(a):
print(str(item), end = ' ' if i != len(a)-1 else '\n') | Traceback (most recent call last):
File "/tmp/tmpt4ndyp57/tmpbo4e51q8.py", line 3, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.