s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
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])) |
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 |
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 |
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 |
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]) |
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], |
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], |
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], |
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], |
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], |
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], |
s939315185 | p02407 | u532962080 | 1454467798 | Python | Python | py | Runtime Error | 0 | 0 | 59 | n=raw_input()
x=raw_input().split()
x(reversed(range(10))) |
s057205496 | p02407 | u532962080 | 1454467837 | Python | Python | py | Runtime Error | 0 | 0 | 45 | x=raw_input().split()
x(reversed(range(10))) |
s360860862 | p02407 | u532962080 | 1454467861 | Python | Python | py | Runtime Error | 0 | 0 | 49 | x=raw_input().split()
x(reversed(range(len(x)))) |
s508091419 | p02407 | u532962080 | 1454467880 | Python | Python | py | Runtime Error | 0 | 0 | 50 | x=raw_input().split()
x(reversed(xrange(len(x)))) |
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] |
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], |
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], |
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], |
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] |
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] |
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() |
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]) |
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]) |
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), |
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), |
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), |
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), |
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], |
s565176122 | p02407 | u967035362 | 1454943482 | Python | Python | py | Runtime Error | 0 | 0 | 54 | input()
l = raw_input().split()
print " ".join(l[::-1] |
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)) |
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 |
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 |
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] |
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] |
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] |
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]) |
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(' ') |
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, |
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]) |
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], |
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(" ") |
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], |
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] |
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)) |
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())
... |
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())
... |
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], |
s438828334 | p02407 | u762833208 | 1461728212 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print " ".join(lst[::-1]) |
s443200970 | p02407 | u762833208 | 1461728439 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print " ".join(lst[::-1]) |
s815120283 | p02407 | u762833208 | 1461728747 | Python | Python | py | Runtime Error | 0 | 0 | 72 | n = input()
lst = map(int,raw_input().split())
print ' '.join(lst[::-1]) |
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] |
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 |
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)) |
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)) |
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='') |
s652235748 | p02407 | u587193722 | 1469683904 | Python | Python3 | py | Runtime Error | 0 | 0 | 57 | input()
a = input().split()
a.reverse()
print(" "join(a)) |
s424396214 | p02407 | u085472528 | 1469683908 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | put()
a = input().split()
a.reverse()
print(" ".join(a)) |
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)) |
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)) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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]) |
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]) |
s294991077 | p02407 | u135273382 | 1474781317 | Python | Python3 | py | Runtime Error | 0 | 0 | 63 | n = int(input())
l = map(int, input().split())
print(l[::-1]) |
s429724073 | p02407 | u135273382 | 1474781337 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | n = int(input())
l = map(int, input().split())
print(l[::-1]) |
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],
|
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 ""
|
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)) |
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() |
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() |
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... |
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("[","") |
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) |
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 = '') |
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() |
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("") |
s327746927 | p02407 | u732614538 | 1481757423 | Python | Python3 | py | Runtime Error | 0 | 0 | 32 | print(a[::-1].rsplit('\n',1)[0]) |
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) |
s445651968 | p02407 | u144068724 | 1486133418 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | input()
a = input().split()
print(" ".join(a.reverse())) |
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 = " ") |
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]) |
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) |
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]) |
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]) |
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="") |
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=" ") |
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) |
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) |
s927724985 | p02407 | u802537549 | 1493871782 | Python | Python3 | py | Runtime Error | 0 | 0 | 61 | input()
line = reverse(input().split())
print(' '.join(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)) |
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))) |
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') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.