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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s292148552 | p04043 | u856232850 | 1522984983 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | a, b, c = int(input())
d = [a,b,c]
if d.count(5) == 2:
if d.count(7) == 1:
print('Yes')
else:
print('No') | Traceback (most recent call last):
File "/tmp/tmpw4sjtccr/tmp8jg33h5g.py", line 1, in <module>
a, b, c = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s994871667 | p04043 | u942871960 | 1522372091 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 159 | num_list = input().split(" ")
num_list = map(num_list, int)
sorted_list = num_list.sorted()
if sorted_list == [5, 5, 7]:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpn35k1re7/tmp0rcrg4u8.py", line 1, in <module>
num_list = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s473040181 | p04043 | u942871960 | 1522371981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 132 | num_list = int(input().split(" "))
sorted_list = num_list.sorted()
if sorted_list == [5, 5, 7]:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmp_649dql8/tmpl58p6ym3.py", line 1, in <module>
num_list = int(input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s345347843 | p04043 | u976256337 | 1521346639 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 171 | N, L = map(int, input().split())
S = ["" for i in range(N)]
for i in range(N):
S[i] = input()
S.sort()
result = ""
for i in range(N):
result += S[i]
print(result) | Traceback (most recent call last):
File "/tmp/tmpfp7cff0d/tmp1vzei7m6.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s742700487 | p04043 | u898651494 | 1520762510 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 182 | a,b,c =map(int,input().split())
if a == 5 && b==5 && c==7:
print("YES")
elif a == 5 && b==7 && c==5:
print("YES")
elif a == 7 && b==5 && c==5:
print("YES")
else :
print("NO") | File "/tmp/tmp8ocjy64q/tmp_f9v631q.py", line 2
if a == 5 && b==5 && c==7:
^
SyntaxError: invalid syntax
| |
s624225557 | p04043 | u672710370 | 1520491666 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 686 | import sys
debug_mode = True if len(sys.argv) > 1 and sys.argv[1] == "-d" else False
if debug_mode:
import os
inf = open(os.path.basename(__file__).replace(".py", ".in"))
def input():
return inf.readline()
else:
inf = sys.stdin
# ==============================================================
def main():
n, k = [int(x) for x in input().strip().split()]
d = [x for x in input().strip().split()]
while True:
str_n = str(n)
if any(i in str_n for i in d):
n += 1
else:
break
print(n)
main()
# ==============================================================
if debug_mode:
inf.close()
| Traceback (most recent call last):
File "/tmp/tmpkbb_y6sx/tmp7sw_7047.py", line 29, in <module>
main()
File "/tmp/tmpkbb_y6sx/tmp7sw_7047.py", line 16, in main
n, k = [int(x) for x in input().strip().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s777808999 | p04043 | u808427016 | 1520446769 | Python | Python (3.4.3) | py | Runtime Error | 90 | 32616 | 519 | M = 10**9 + 7
L = 200000
Fm = {}
inverseFm = {}
x = 1
for i in range(L):
Fm[i] = x
x = x * (i + 1) % M
def inverseFm(x):
result = pow(Fm[x], M - 2, M)
return result
def C(n, r):
result = Fm[n] * inverseFm(r) * inverseFm(n - r) % M
return result
def solve(H, W, A, B):
result = 0
for i in range(B + 1, W + 1):
result += C(i + H - A - 1 - 1, i - 1) * C(W - i + A - 1, W - i)
return result % M
H, W, A, B = [int(_) for _ in input().split()]
print(solve(H, W, A, B))
| Traceback (most recent call last):
File "/tmp/tmpwj_j3bx_/tmpzw12o5wq.py", line 25, in <module>
H, W, A, B = [int(_) for _ in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s998643270 | p04043 | u858136677 | 1519589504 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 198 | a = list(map(int,inpt().split()))
5count = 0
7count = 0
for i in range(3):
if a[i] == 5:
5count +=1
elif a[i] == 7:
7count += 1
if 5count == 2 and 7count == 1:
print('YES')
else:
print('NO') | File "/tmp/tmp4qpwp76_/tmpjzws_aiq.py", line 2
5count = 0
^
SyntaxError: invalid decimal literal
| |
s211167130 | p04043 | u319612498 | 1518932481 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | a,b,c=map(int,input().split())
list1=[a,b,c]
list2=sorted(list1)
if list2[0]==list2[1]==5 and list2[2]==7:
print("YES")
else:
print(NO") | File "/tmp/tmpvezg01pv/tmptpnexqs2.py", line 7
print(NO")
^
SyntaxError: unterminated string literal (detected at line 7)
| |
s275136843 | p04043 | u019584841 | 1518814274 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 118 | a=[int(input()) for _ in range(3)]
b=sorted(a)
if b[0]==5 and b[1]==5 and b[2]==7:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpdqbgeyw5/tmpue8ec1sa.py", line 1, in <module>
a=[int(input()) for _ in range(3)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpdqbgeyw5/tmpue8ec1sa.py", line 1, in <listcomp>
a=[int(input()) for _ in range(3)]
^^^^^^^
EOFError: EOF when reading a line
| |
s572267647 | p04043 | u019584841 | 1518814146 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 115 | a=[int(input()) for _ in range(3)]
a.sort()
if a[0]==5 and a[1]==5 and a[2]==7:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp7k_tog_m/tmpsdfbsg7q.py", line 1, in <module>
a=[int(input()) for _ in range(3)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp7k_tog_m/tmpsdfbsg7q.py", line 1, in <listcomp>
a=[int(input()) for _ in range(3)]
^^^^^^^
EOFError: EOF when reading a line
| |
s482881448 | p04043 | u019584841 | 1518813977 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 93 | a=[int(input()) for _ in range(3)]
if sorted(a)==[5,5,7]:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp0oj_wd76/tmpa9ls4u5r.py", line 1, in <module>
a=[int(input()) for _ in range(3)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp0oj_wd76/tmpa9ls4u5r.py", line 1, in <listcomp>
a=[int(input()) for _ in range(3)]
^^^^^^^
EOFError: EOF when reading a line
| |
s365864240 | p04043 | u019584841 | 1518813967 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 92 | a=[int(input()) for _ in range()]
if sorted(a)==[5,5,7]:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpzsqc0qvt/tmpj7frljpy.py", line 1, in <module>
a=[int(input()) for _ in range()]
^^^^^^^
TypeError: range expected at least 1 argument, got 0
| |
s300482052 | p04043 | u952708174 | 1517083960 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | A, B, C = [int(i) for i in input().split()]
if sorted([A,B,C]==[5,5,7]):
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpucikt5kt/tmpgnp9emq8.py", line 1, in <module>
A, B, C = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s844853399 | p04043 | u459737327 | 1516481208 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | print("YES" if 5, 7, 5 == map(int, input().split()) else "NO") | File "/tmp/tmp3_2ztyq0/tmpo0j8s55p.py", line 1
print("YES" if 5, 7, 5 == map(int, input().split()) else "NO")
^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s059211573 | p04043 | u459737327 | 1516481176 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | print("YES" if 5, 7, 5 == map(int, input().split()) else "NO") | File "/tmp/tmp3ggfyaug/tmpj_k_339b.py", line 1
print("YES" if 5, 7, 5 == map(int, input().split()) else "NO")
^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s019573240 | p04043 | u459737327 | 1516481148 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 68 | print("YES" is 5, 7, 5 == list(map(int, input().split())) else "NO") | File "/tmp/tmpo3hh2a7s/tmpxm9kz026.py", line 1
print("YES" is 5, 7, 5 == list(map(int, input().split())) else "NO")
^^^^
SyntaxError: invalid syntax
| |
s165999849 | p04043 | u459737327 | 1516481114 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | print("YES" is 5, 7, 5 == map(int, input().split()) else "NO") | File "/tmp/tmpwqqsx2tx/tmpdvzexfxf.py", line 1
print("YES" is 5, 7, 5 == map(int, input().split()) else "NO")
^^^^
SyntaxError: invalid syntax
| |
s525793343 | p04043 | u124843595 | 1515411611 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 99 | a,b,c=[int(x) for x in input().split()]
print("YES") if sorted([a,b,c]) == [5,5,7] else print("NO") | Traceback (most recent call last):
File "/tmp/tmpa0lnt76b/tmpis6lyi_r.py", line 1, in <module>
a,b,c=[int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s035005370 | p04043 | u716949516 | 1514253376 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38640 | 217 | # main関数
if __name__ == '__main__':
n, l = map(int,input().split())
a = []
for i in range(n) :
a.append(input())
a.sort()
for i in range(n) :
print(a[i], end="")
print() | Traceback (most recent call last):
File "/tmp/tmpsa5ldb9m/tmpfbb_hqyp.py", line 4, in <module>
n, l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s312793810 | p04043 | u355798276 | 1513142753 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | x = list(map(int, input().split()))
if x.count[5] == 2 and x.count[7] == 1:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp3qbfh6n9/tmptbzpdtqm.py", line 1, in <module>
x = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s877462689 | p04043 | u355798276 | 1513142680 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | x = lsit(map(int, input().split()))
if x.count[5] == 2 and x.count[7] == 1:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp5r1t5l3i/tmpfq0pcq4k.py", line 1, in <module>
x = lsit(map(int, input().split()))
^^^^
NameError: name 'lsit' is not defined
| |
s541805245 | p04043 | u667024514 | 1511041649 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 233 | a, b, c = map(int,input().split())
if a == 7:
if b == c and c ==5:
print("YES")
else:
print("NO")
elif a == 5:
if b ==7 and c == 5:
print("YES")
ellif b == 5 and c ==7:
print("YES")
else:
print("NO")
else:
print("NO") | File "/tmp/tmp7re9y1kc/tmpmicttcwm.py", line 10
ellif b == 5 and c ==7:
^
SyntaxError: invalid syntax
| |
s542239038 | p04043 | u667024514 | 1511041581 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 227 | a, b, c = map(int,input().split())
if a == 7:
if b == c ==5:
print("Yes")
else:
print("No")
elif a == 5:
if b ==7 and c == 5:
print("Yes")
ellif b == 5 and c ==7:
print("Yes")
else:
print("No")
else:
print("No") | File "/tmp/tmpo65ie845/tmpjee82lbb.py", line 10
ellif b == 5 and c ==7:
^
SyntaxError: invalid syntax
| |
s595850735 | p04043 | u269390702 | 1508388500 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 166 | n = list(map(int,input().split()))
if 5 in n :
n.remove(5)
if 5 in n and if 7 in n :
print("YES")
else:
print("NO")
else :
print("NO") | File "/tmp/tmpcvlp2w5j/tmptwcryt8q.py", line 4
if 5 in n and if 7 in n :
^^
SyntaxError: invalid syntax
| |
s419776576 | p04043 | u269390702 | 1508387700 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 150 | n = list(map(int,input().split()))
if 5 in n :
n.remove(5)
elif 5 in n :
elif 7 in n :
print("YES")
else :
print("NO") | File "/tmp/tmpzq8pxpdh/tmpvxkpixa_.py", line 4
elif 5 in n :
^^^^
SyntaxError: invalid syntax
| |
s639153547 | p04043 | u269390702 | 1508387576 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | n = list(map(int,input().split()))
if 5 in n :
n.remove(5)
elif 5 in n :
elif 7 in n :
print("YES")
else :
print("NO") | File "/tmp/tmp7zkkweeg/tmp75ehmtpq.py", line 4
elif 5 in n :
^^^^
SyntaxError: invalid syntax
| |
s572198875 | p04043 | u269390702 | 1508387408 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | n = list(map(int,input().split()))
if 5 in n :
n.remove(5)
elif 5 in n :
elif 7 in n :
print("YES")
else :
print("NO") | File "/tmp/tmp3lphy42n/tmpuvlk8gfl.py", line 4
elif 5 in n :
^^^^
SyntaxError: invalid syntax
| |
s653553109 | p04043 | u584563392 | 1506264866 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 143 | nyuuryoku_num , _ = [int(i) for i in input().split()]
test_lists = [input() for i in range(nyuuryoku_num)]
print("".join(sorted(test_lists)))
| Traceback (most recent call last):
File "/tmp/tmpk19tj73g/tmpjt82h8sm.py", line 1, in <module>
nyuuryoku_num , _ = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s874664695 | p04043 | u182096840 | 1504452576 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 124 | a = map(int, raw_input().strip().split())
sort(a)
if a[0] == 5 and a[1] == 5 and a[2] == 7:
print('YES')
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpi18du5t1/tmp17lfj280.py", line 1, in <module>
a = map(int, raw_input().strip().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s655235431 | p04043 | u255555420 | 1502820219 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 97 | L, N = map(int,input().split())
S = [input() for i in range(N)]
S.sort()
A=''.join(S)
print(A) | Traceback (most recent call last):
File "/tmp/tmpdxx5qc3h/tmpeni0hq90.py", line 1, in <module>
L, N = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s671858175 | p04043 | u081634865 | 1502676280 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 161 | list = []
for i in range(3):
n = int(input())
list.append(n)
list.sort()
if list[0] == 5 & list[1] == 5 & list[2]:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmp6tl0lsva/tmpqmjqo2ar.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s846330723 | p04043 | u650245944 | 1502230820 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a = list(map(int, input().split()))
a.sort()
if a == [5, 5, 7];
print("YES")
else:
print("NO") | File "/tmp/tmpu83kb5th/tmp4q0yjum_.py", line 3
if a == [5, 5, 7];
^
SyntaxError: invalid syntax
| |
s894176466 | p04043 | u914001098 | 1499804188 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 192 | haiku = int(input())
x = haiku.split(' ')
num_5 = 0
num_7 = 0
for v in x:
if x[v] == 5:
num_5 ++
elif x[v] == 7:
num_7 ++
if num_5 == 2 and num_7 == 1:
print('YES')
else:
print('NO') | File "/tmp/tmpbw5sz0zh/tmp4vkseueh.py", line 8
num_5 ++
^
SyntaxError: invalid syntax
| |
s581560679 | p04043 | u914001098 | 1499804048 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 190 | haiku = int(input())
x = haiku.split(' ')
num_5 = 0
num_7 = 0
for v in x:
if x[v] == 5:
num_5 ++
elif x[v] == 7:
num_7 ++
if num_5 == 2 and num_7 == 1
print('YES')
else
print('NO') | File "/tmp/tmplrgemrf3/tmpzc5rcuv4.py", line 8
num_5 ++
^
SyntaxError: invalid syntax
| |
s789042016 | p04043 | u502149531 | 1497855377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | a = [int(i) for i in input().split()]
a.sort()
if a[0] == 5 and a[1] == 5 and a[2] == 7 :
print('YES')
else
print('NO') | File "/tmp/tmpqbnssj9e/tmp9arxaro_.py", line 5
else
^
SyntaxError: expected ':'
| |
s505893943 | p04043 | u319818166 | 1490220296 | Python | Python (2.7.6) | py | Runtime Error | 12 | 2568 | 389 | L, N = map(int, raw_input().split())
if L > 100 or L < 1:
print 'error'
exit()
if N > 100 or N < 1:
print 'error'
exit()
input = []
for i in range(0, N):
sentence = raw_input()
if len(sentence) != L:
print 'error'
exit()
for j in range(0, L):
if sentence[j] < 'a' or sentence[j] > 'z':
print 'error'
exit()
input.append(sentence)
for x in sorted(input):
print x | File "/tmp/tmpzzkdzktz/tmpq7m3q64t.py", line 3
print 'error'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s568351626 | p04043 | u976966750 | 1490045392 | Python | PyPy2 (5.6.0) | py | Runtime Error | 33 | 27628 | 108 | n,l=map(int,raw_input().split())
l=[]
for i in range(n):
l.append(raw_input())
l.sort()
print ''.join(l) | File "/tmp/tmp8saavrbn/tmp336pi1rl.py", line 6
print ''.join(l)
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s630031938 | p04043 | u788681441 | 1484254303 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 61 | f = map(int, input().split())
f = sorted(f)
if f==[5, 5, 7]:
| File "/tmp/tmp48yfkc7o/tmptfj4hsmq.py", line 3
if f==[5, 5, 7]:
IndentationError: expected an indented block after 'if' statement on line 3
| |
s249291950 | p04043 | u122916923 | 1483911701 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3064 | 85 | if '557' == ''.join(sorted(input().split())):
return 'YES'
else:
return 'NO'
| File "/tmp/tmpjz39mn5u/tmp_5riew0h.py", line 2
return 'YES'
^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s091037129 | p04043 | u582243208 | 1480114175 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3064 | 206 | n,k=map(int,input().split())
d=[i for i in input().split()]
while True:
f=False
for i in d:
if i not in str(n):
f=True
break
if f:
break
n+=1
print(n) | Traceback (most recent call last):
File "/tmp/tmps4steasz/tmpmil9r5ht.py", line 1, in <module>
n,k=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s980440259 | p04043 | u778700306 | 1478186290 | Python | Python (2.7.6) | py | Runtime Error | 17 | 2692 | 458 |
N, K = raw_input().split()
D = raw_input().split()
candi = [str(i) for i in xrange(10)]
for d in D:
candi.remove(d)
def decide(i):
if i >= len(N):
return ''
for c in candi:
if N[i] == c:
return c + decide(i + 1)
elif N[i] < c:
return c + candi[0] * (len(N) - i - 1)
if candi[-1] * len(N) >= N:
print decide(0)
else:
print (candi[0] if candi[0] != '0' else candi[1]) + candi[0] * len(N)
| File "/tmp/tmp0sbr2xet/tmp1ppwudba.py", line 18
print decide(0)
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s184857529 | p04043 | u760139520 | 1470499475 | Python | Python (3.4.3) | py | Runtime Error | 38 | 3064 | 249 | a = map(int, input().split()
flag5=0
flag7=0
for i in range(len(a)):
if a[i] = 5:
flag5 += 1
elif a[i] = 7:
flag7 += 1
else:
flag5 = 0
break
if flag5=2 and flag7=1:
print('YES')
else:
print('NO')
| File "/tmp/tmprx8k8zyl/tmpji1xi7pr.py", line 1
a = map(int, input().split()
^
SyntaxError: '(' was never closed
| |
s543956258 | p04043 | u886545507 | 1469893171 | Python | Python (2.7.6) | py | Runtime Error | 26 | 2568 | 164 | #coding: utf-8
#ABC042C
n,k=map(int,raw_input().split())
d=raw_input().split()
while True:
if all(x not in str(n) for x in d):
res=n
break
n+=1
print res
| File "/tmp/tmp60f708id/tmp981gn5il.py", line 13
print res
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s781073740 | p04043 | u886545507 | 1469709914 | Python | Python (2.7.6) | py | Runtime Error | 25 | 2568 | 128 | #coding: utf-8
#ABC042B
n,l=map(int,raw_input().split())
s=[raw_input() for i in xrange(n)]
s.sort()
res="".join(s)
print res
| File "/tmp/tmpysdvmaah/tmprse0ydyi.py", line 9
print res
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s131573094 | p04043 | u426432817 | 1469668460 | Python | Python (3.4.3) | py | Runtime Error | 39 | 3064 | 132 | N,L=map(int, input().split())
a=[]
for i in range(N):
a.append(input())
a.sort()
for i in range(N):
print(a[i],end='')
| Traceback (most recent call last):
File "/tmp/tmpjngp6fdm/tmppuzk_3ka.py", line 1, in <module>
N,L=map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s782152101 | p04043 | u426432817 | 1469667252 | Python | Python (3.4.3) | py | Runtime Error | 39 | 3064 | 139 | N,L=input().split()
N=int(N)
a=[]
for i in range(N):
s=input()
a.append(s)
a.sort()
for i in range(N):
print(a[i],end='')
| Traceback (most recent call last):
File "/tmp/tmpr6l1tlb3/tmp8nziueyn.py", line 1, in <module>
N,L=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s536261971 | p04043 | u150117535 | 1469541225 | Python | Python (3.4.3) | py | Runtime Error | 38 | 3064 | 289 |
ini = int(input().split(" ")[0])
negaset = [int(x) for x in input().split(" ")]
okset = sorted([str(i) for i in range (10) if i not in negaset])
#print(ini,okset)
for p in itertools.product(okset,repeat = 5):
stp = int("".join(p))
if stp >= ini:
print(stp)
break | Traceback (most recent call last):
File "/tmp/tmp9o339bf1/tmp6_ulhlb0.py", line 2, in <module>
ini = int(input().split(" ")[0])
^^^^^^^
EOFError: EOF when reading a line
| |
s631244407 | p04043 | u150117535 | 1469541199 | Python | Python (3.4.3) | py | Runtime Error | 38 | 3064 | 305 | import itertools
ini = int(input().split(" ")[0])
negaset = [int(x) for x in input().split(" ")]
okset = sorted([str(i) for i in range (10) if i not in negaset])
#print(ini,okset)
for p in itertools.product(okset,repeat = 5):
stp = int("".join(p))
if stp >= ini:
print(stp)
break | Traceback (most recent call last):
File "/tmp/tmpcx34pdu9/tmpgo0fjdap.py", line 2, in <module>
ini = int(input().split(" ")[0])
^^^^^^^
EOFError: EOF when reading a line
| |
s345807959 | p04043 | u150117535 | 1469541009 | Python | Python (3.4.3) | py | Runtime Error | 39 | 3064 | 340 | # coding: utf-8
# Here your code !
import itertools
ini = int(input().split(" ")[0])
negaset = [int(x) for x in input().split(" ")]
okset = sorted([str(i) for i in range (10) if i not in negaset])
#print(ini,okset)
for p in itertools.product(okset,repeat = 5):
stp = int("".join(p))
if stp >= ini:
print(stp)
break | Traceback (most recent call last):
File "/tmp/tmpmm2761qo/tmpe4s_3x_k.py", line 4, in <module>
ini = int(input().split(" ")[0])
^^^^^^^
EOFError: EOF when reading a line
| |
s376134665 | p04043 | u150117535 | 1469509011 | Python | PyPy3 (2.4.0) | py | Runtime Error | 399 | 45168 | 201 | # coding: utf-8
# Here your code !
ipt = input().split(" ")
j,k =0,0
for i in ipt:
if i == 5:
k +=1
elif i==7:
j += 1
if J == 1 & K == 2:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpjthj3al_/tmp_u3viycz.py", line 3, in <module>
ipt = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s629150975 | p04043 | u022488946 | 1469481271 | Python | PyPy2 (5.6.0) | py | Runtime Error | 59 | 8944 | 75 | xs = map(int, raw_input())
print 'YES' if sorted(xs) == [5, 5, 7] else 'NO' | File "/tmp/tmpplbukglj/tmpqrflnjdc.py", line 2
print 'YES' if sorted(xs) == [5, 5, 7] else 'NO'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s136773580 | p04043 | u591287669 | 1469461349 | Python | Python (3.4.3) | py | Runtime Error | 38 | 3064 | 61 | if sorted(arr) == [5,5,7]:
print('YES')
else:
print('NO') | Traceback (most recent call last):
File "/tmp/tmpdpc_us1m/tmp64e3dwim.py", line 1, in <module>
if sorted(arr) == [5,5,7]:
^^^
NameError: name 'arr' is not defined
| |
s922048921 | p04043 | u557523358 | 1469402438 | Python | Python (3.4.3) | py | Runtime Error | 1425 | 11096 | 214 | M=10**9+7;F=[pow(X,M-2,M)for X in range(2*10**5)];H,W,A,B=map(int,input().split());Z=C=1
for I in range(H-1):Z=C=C*(W+H-B-2-I)*F[I+1]%M
for I in range(1,H-A):C=C*(B-1+I)*F[I]*(H-I)*F[W+H-B-1-I]%M;Z=(Z+C)%M
print(Z) | Traceback (most recent call last):
File "/tmp/tmp7ybpldqz/tmpi7ux2w7l.py", line 1, in <module>
M=10**9+7;F=[pow(X,M-2,M)for X in range(2*10**5)];H,W,A,B=map(int,input().split());Z=C=1
^^^^^^^
EOFError: EOF when reading a line
| |
s478399324 | p04043 | u352021237 | 1469345385 | Python | PyPy2 (5.6.0) | py | Runtime Error | 58 | 8816 | 113 | n,l=map(int,raw_input().split())
a=[]
for i in range(n):
a.append(raw_input())
a.sort()
print ''.join(a)
| File "/tmp/tmp45oew37g/tmpxvittf71.py", line 6
print ''.join(a)
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s072221015 | p04043 | u888742521 | 1469326979 | Python | Python (2.7.6) | py | Runtime Error | 26 | 2692 | 761 | # coding: utf-8
# Here your code !
N, K = map(int, raw_input().split(" "))
D = map(int, raw_input().split(" "))
nums = range(0,10)
#好きな数字を昇順のリストに整理
like = list(set(nums).difference(set(D)))
like.sort()
print like
#数字を上から1文字づつ処理
grade = len(str(N))-1
ans = 0
flag = False #上の桁で嫌いな数字があるか
for i in str(N):
if int(i) == 9 and 9 not in like and not flag:
ans += 10**(grade+1)
flag = True
elif int(i) not in like and not flag:
for j in like:
if j > int(i):
ans += j*10**(grade)
flag = True
break
elif flag:
ans += like[0]*10**(grade)
grade -= 1
if ans < N:
ans = N
print ans
| File "/tmp/tmpat4hr9s2/tmpdzmmtz76.py", line 9
print like
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s156092194 | p04043 | u834061612 | 1469324043 | Python | Python (2.7.6) | py | Runtime Error | 26 | 2568 | 448 | #!/usr/bin/env python2
#encoding: UTF-8
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
import math
line=raw_input().rstrip().split(' ')
N=int(line[0])
L=int(line[1])
listo=[]
for i in range(L):
listo.append(raw_input().rstrip())
listi=sorted(listo)
listni=''
for i in range(L):
listni+=listi[i]
print listni | File "/tmp/tmpn25ywpxp/tmpuwuhw_w0.py", line 18
print listni
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s941377590 | p04043 | u187945597 | 1469323897 | Python | Python (2.7.6) | py | Runtime Error | 26 | 2568 | 152 | n,l = map(int,raw_input().split())
s = []
for i in xrange(n) :
s.append(raw_input())
s.sort()
t = ''
for j in xrange(n) :
t += s[j]
print t
| File "/tmp/tmpaknok1wf/tmp03u95j6m.py", line 9
print t
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s955418530 | p04043 | u442984321 | 1469323822 | Python | Python (3.4.3) | py | Runtime Error | 37 | 3064 | 409 | n, _ = input().split(' ')
o = set([d for d in range(10)])
d = set([int(t) for t in input().split(' ')])
o = list(o.difference(d))
o.sort()
ans = []
for t in n:
t = int(t)
for tt in o:
if tt >= t:
ans.append(tt)
break
else:
ans.append(o[0])
if int(''.join(map(str,ans))) < int(n):
ans.insert(0, o[0] if o[0] != 0 else o[1])
print(''.join(map(str,ans))) | Traceback (most recent call last):
File "/tmp/tmpmies2k7i/tmp45z2odhe.py", line 1, in <module>
n, _ = input().split(' ')
^^^^^^^
EOFError: EOF when reading a line
| |
s816960231 | p04043 | u601018334 | 1469323605 | Python | Python (3.4.3) | py | Runtime Error | 38 | 3064 | 233 | N,L = list(map(int, input().split()))
a = [input() for i in range(N)]
b = []
for i in range(N):
n = 0
for j in range(L):
n = (n*100) + ord( a[i][j])-96
b.append(n)
ind = b.index(max(b))
print('%s' % str(a[ind]))
| Traceback (most recent call last):
File "/tmp/tmpvb1aaeds/tmp_m3oppzk.py", line 1, in <module>
N,L = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s835245471 | p04043 | u798181098 | 1469322187 | Python | Python (3.4.3) | py | Runtime Error | 36 | 3064 | 101 | a, b, c = sorted(map(int, input().split()))
if a, b, c == 5, 5, 7:
print("YES")
else:
print("NO") | File "/tmp/tmp_g6poxuz/tmp5u0rn0gm.py", line 2
if a, b, c == 5, 5, 7:
^
SyntaxError: invalid syntax
| |
s354079959 | p04043 | u798181098 | 1469322105 | Python | Python (3.4.3) | py | Runtime Error | 1839 | 8400 | 100 | a, b, c = sorted(map(int, input().split()))
if a, b, c = 5, 5, 7:
print("YES")
else:
print("NO") | File "/tmp/tmpt9nk524n/tmpsk7wn2yb.py", line 2
if a, b, c = 5, 5, 7:
^
SyntaxError: invalid syntax
| |
s223815451 | p04044 | u443151804 | 1600861701 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8948 | 40 | println(join(sort!(readlines()[2:end]))) | File "/tmp/tmpu7j1pj13/tmpiqqz2ngx.py", line 1
println(join(sort!(readlines()[2:end])))
^
SyntaxError: invalid syntax
| |
s841280822 | p04044 | u536034761 | 1600860828 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9096 | 91 | n, l = map(int, input().split())
A = sorted([input() for _ in range(l)])
print("".join(A))
| Traceback (most recent call last):
File "/tmp/tmpntodfwyu/tmpdrglmgx7.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s732640963 | p04044 | u579746769 | 1600095155 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9188 | 132 | n,l=map(int,input().split())
li=[input() for i in range(n)]
sortli=sorted(li)
print("{}{}{}".format(sortli[0],sortli[1],sortli[2])) | Traceback (most recent call last):
File "/tmp/tmpwajx3083/tmpjyrin7qv.py", line 1, in <module>
n,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s693480527 | p04044 | u049364987 | 1599727116 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9060 | 314 | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
import sys
sys.stdout = open("e:/cp/output.txt","w")
sys.stdin = open("e:/cp/input.txt","r")
n,l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
result = ''.join(s)
print(s)
| Traceback (most recent call last):
File "/tmp/tmpu4wh0w6c/tmpmv_cg1cc.py", line 9, in <module>
sys.stdout = open("e:/cp/output.txt","w")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'e:/cp/output.txt'
| |
s677325914 | p04044 | u304612256 | 1599316827 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8952 | 155 | from sys import stdin
input = stdin.readline
L, N = map(int, input().split())
D = []
for i in range(N):
D.append(input()
D.sort()
print(''.join(D)) | File "/tmp/tmpff5ygdue/tmpoxnn_ru1.py", line 8
D.append(input()
^
SyntaxError: '(' was never closed
| |
s252202671 | p04044 | u546853743 | 1599228117 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9040 | 119 | n,l=map(int,input().split())
for i in range(n):
list[i] = str(input())
newlist=list.sorted()
print(newlist,sep='') | Traceback (most recent call last):
File "/tmp/tmppbqg1nja/tmpw5nne8ei.py", line 1, in <module>
n,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s756238971 | p04044 | u600673553 | 1599091472 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9188 | 156 | n,l = map(int,input().split())
ls = []
for i in range(n):
a = str(input())
ls.append(a)
ls.sort()
tx = ""
for i in range(n):
tx = tx +ls[n]
print(tx) | Traceback (most recent call last):
File "/tmp/tmp0qyhcs7s/tmp86wxn0mo.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s740381791 | p04044 | u855057563 | 1599077920 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8972 | 104 | n,l=map(int,input().split())
s=[int(input()) for _ in range(n)]
s.sort()
for i in s:
print(i,end="")
| Traceback (most recent call last):
File "/tmp/tmpqev9x6hv/tmp1rt896he.py", line 1, in <module>
n,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s789746483 | p04044 | u855057563 | 1599077764 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9012 | 100 | n,l=map(int,input().split())
s=[int(input()) for _ in range(n)]
s.sort()
print(i for i in s,end="") | File "/tmp/tmpijhr50_f/tmptoumx787.py", line 5
print(i for i in s,end="")
^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized
| |
s751799390 | p04044 | u473905774 | 1598990498 | Python | PyPy3 (7.3.0) | py | Runtime Error | 82 | 74692 | 100 | a,b = list(map(int,input().split(" ")))
l = [input() for i in range(b)]
l.sort()
print("".join(l)) | Traceback (most recent call last):
File "/tmp/tmpu0jl4yj6/tmp0dxmj0nh.py", line 1, in <module>
a,b = list(map(int,input().split(" ")))
^^^^^^^
EOFError: EOF when reading a line
| |
s604471397 | p04044 | u473905774 | 1598989813 | Python | PyPy3 (7.3.0) | py | Runtime Error | 96 | 74664 | 154 | # coding: utf-8
# Your code here!
a,b = list(map(int,input().split(" ")))
l = [input() for i in range(b)]
l = sorted(l)
new_l = ''.join(l)
print(new_l) | Traceback (most recent call last):
File "/tmp/tmpndklhd_n/tmp13hqamqr.py", line 4, in <module>
a,b = list(map(int,input().split(" ")))
^^^^^^^
EOFError: EOF when reading a line
| |
s448663633 | p04044 | u344383000 | 1598843219 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8920 | 448 | #include <iostream>
using namespace std;
int main()
{ int n,l;
cin>>n>>l;
string str[n], temp;
getchar();
for(int i = 0; i < n; ++i)
{
getline(cin, str[i]);
}
for(int i = 0; i < n-1; ++i)
for( int j = i+1; j < n; ++j)
{
if(str[i] > str[j])
{
swap(str[i],str[j]);
}
}
for(int i = 0; i < n; ++i)
{
cout << str[i];
}
return 0;
} | File "/tmp/tmps5j8v7cc/tmpp54d76tk.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s543461181 | p04044 | u439881679 | 1598631953 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9344 | 375 | # bsdk idhar kya dekhne ko aaya hai, khud kr!!!
# import math
# from itertools import *
# import random
# import calendar
import datetime
# import webbrowser
# f = open("input.txt", 'r')
# g = open("output.txt", 'w')
# n, m = map(int, f.readline().split())
n, k = map(int, input().split())
arr = []
for i in range(k):
arr.append(input())
arr.sort()
print("".join(arr))
| Traceback (most recent call last):
File "/tmp/tmpw99rwnh3/tmpm3znfh6z.py", line 13, in <module>
n, k = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s454178521 | p04044 | u940652437 | 1598052317 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8940 | 212 | 5 5 7
Yes
N,L = map(int,input().split())
str_list=[]
final_str = ""
for i in range(N):
str_list.append(input())
new_list = sorted(str_list)
for n in range(N):
final_str += new_list[n]
print(final_str)
3 3 | File "/tmp/tmp0z5573jm/tmpr7d_rptn.py", line 1
5 5 7
^
SyntaxError: invalid syntax
| |
s902827800 | p04044 | u468972478 | 1597975561 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9156 | 124 | l, n = map(int, input().split())
a = []
for i in range(n):
a.append(input())
a.sort()
b = ""
for i in a:
b += a
print(b) | Traceback (most recent call last):
File "/tmp/tmpnsl_z0_u/tmp7grwo9jr.py", line 1, in <module>
l, n = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s755169572 | p04044 | u506996808 | 1597714451 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9048 | 110 | N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sorted()
for i in range(len(S)):
print(S[i]) | Traceback (most recent call last):
File "/tmp/tmpxwfl9nng/tmpm170xt_f.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s068903521 | p04044 | u190195462 | 1597291516 | Python | Python (3.8.2) | py | Runtime Error | 32 | 9112 | 131 | L, N = map(int, input().split())
C = [input() for i in range(N)]
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1 | Traceback (most recent call last):
File "/tmp/tmpeicw2bs5/tmpa5dulfl9.py", line 1, in <module>
L, N = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s482844003 | p04044 | u190195462 | 1597289093 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9092 | 220 | L, N = map(int, input().split())
C = list(range(N))
i=0
while i < N:
C[i] = input()
if len(C[i]) == L:
i += 1
else:
pass
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1 | Traceback (most recent call last):
File "/tmp/tmppgop8wha/tmpsmtkt31_.py", line 1, in <module>
L, N = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s649817302 | p04044 | u190195462 | 1597288819 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9068 | 173 | L, N = map(int, input().split())
C = list(range(N))
i=0
while i < N:
C[i] = input()
i += 1
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1
| Traceback (most recent call last):
File "/tmp/tmpvgb3096t/tmp1597iep6.py", line 1, in <module>
L, N = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s835892815 | p04044 | u673173160 | 1597233650 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8996 | 169 | n, l = map(int, input().split())
sl = []
for i in range(n):
s = input()
sl.append(s)
sl.sort()
"print(sl)
ans = ""
for i in range(n):
ans += sl[i]
print(ans) | File "/tmp/tmpw_64y8d2/tmpf1vsy4i4.py", line 7
"print(sl)
^
SyntaxError: unterminated string literal (detected at line 7)
| |
s834099902 | p04044 | u226779434 | 1596994822 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9176 | 101 | n,l = map(int,input().split())
s =[input() for _ in range(n)]
ss = sorted(s)
print(ss[0]+ss[1]+ss[2]) | Traceback (most recent call last):
File "/tmp/tmp572cj5yt/tmp0g44hl2w.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s066603575 | p04044 | u894623942 | 1596757767 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8952 | 110 | L,N = map(int,input().split())
S = []
for _ in range(N):
S.append(str(input()))
S.sort()
print(''.join(S)) | Traceback (most recent call last):
File "/tmp/tmppqxzj6ux/tmp2h9mse8y.py", line 1, in <module>
L,N = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s908370643 | p04044 | u894623942 | 1596757568 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9036 | 126 | L,N = map(int,input().split())
list1 = []
for l in range(N):
list1.append(str(input()))
list1.sort()
print(''.join(list1)) | Traceback (most recent call last):
File "/tmp/tmpjdm4yyct/tmpi1g8xm7t.py", line 1, in <module>
L,N = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s905183989 | p04044 | u894623942 | 1596757324 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8996 | 126 | L,N = map(int,input().split())
list1 = []
for _ in range(N):
list1.append(str(input()))
list1.sort()
print(''.join(list1)) | Traceback (most recent call last):
File "/tmp/tmp79d4dpim/tmpkpmq2yag.py", line 1, in <module>
L,N = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s740526031 | p04044 | u894623942 | 1596756930 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9024 | 121 | L,N = map(int,input().split())
list1 = []
for _ in range(N):
list1.append(input())
list1.sort()
print(''.join(list1)) | Traceback (most recent call last):
File "/tmp/tmpzmbw8jel/tmp05h1d_8u.py", line 1, in <module>
L,N = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s971266680 | p04044 | u385823012 | 1596468250 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8968 | 151 | first= input()
first = first.split()
N = int(first[0])
L =[]
for i in range(N)
s = input()
L.append(s)
L.sort()
for i in L:
print(i,end="")
| File "/tmp/tmprh1k5aen/tmpbtsrtq3o.py", line 6
for i in range(N)
^
SyntaxError: expected ':'
| |
s459668881 | p04044 | u385823012 | 1596468187 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8968 | 152 | first= input()
first = first.split()
N = int(firsst[0])
L =[]
for i in range(N)
s = input()
L.append(s)
L.sort()
for i in L:
print(i,end="")
| File "/tmp/tmpvtxfqhmj/tmphxo85656.py", line 6
for i in range(N)
^
SyntaxError: expected ':'
| |
s161223955 | p04044 | u604839890 | 1596401079 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9148 | 108 | n, l = map(int, input().split())
s = sorted([map(int, input().split()) for _ in range(n)])
print(*s, sep='') | Traceback (most recent call last):
File "/tmp/tmpuxpcym80/tmpmyvmb8tm.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s963352784 | p04044 | u500823377 | 1596391755 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8892 | 220 | N, L = map(int, input().split())
input_line1 = [input() for i in range(N)]
input_line2 = []
for i in range(N):
input_line2.append(min(input_line1))
input_line1.remove(min(input_line1))
print("".join(input_line2))
| File "/tmp/tmp5k1lhl2y/tmpvly1c1t7.py", line 6
input_line1.remove(min(input_line1))
^
IndentationError: unindent does not match any outer indentation level
| |
s584018464 | p04044 | u467177102 | 1596375832 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8920 | 120 | N,L = map(int, input().split())
string_list = [input() for i in range(N)]
string_list.sort()
print(''.join(string_list)
| File "/tmp/tmp1dzb7pkf/tmp0q1_nfyw.py", line 4
print(''.join(string_list)
^
SyntaxError: '(' was never closed
| |
s448201023 | p04044 | u957799665 | 1595969961 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9012 | 200 | str_list = []
n_number,l_length = map(int,input().split())
w_1=input()
str_list.append(w_1)
w_2=input()
str_list.append(w_2)
w_3=input()
str_list.append(w_3)
str_list.sort()
print(''.join(str_list)) | Traceback (most recent call last):
File "/tmp/tmpmw_qmrml/tmp6m02wxe7.py", line 2, in <module>
n_number,l_length = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s608600078 | p04044 | u840841119 | 1595937775 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9168 | 88 | N,L = map(int, input().split())
S = sorted(input() for _ in range(L))
print(''.join(S)) | Traceback (most recent call last):
File "/tmp/tmpo2qr2qrj/tmpfpjbyirx.py", line 1, in <module>
N,L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s549683307 | p04044 | u980503157 | 1595828560 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9140 | 165 | Firstline = input()
Firstline = Firstline.split()
List = []
for i in int(Firstline[0]):
List.append(input())
List.sort()
s = ""
for i in List:
s += i
print(s) | Traceback (most recent call last):
File "/tmp/tmpu_n2gski/tmp31ckiz4q.py", line 1, in <module>
Firstline = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s013250153 | p04044 | u000644874 | 1595621562 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9064 | 123 | N, L = map(int, input().split())
S = [input() for s in range(N)]
S.sort()
output = ""
for i in S:
output+=i
prunt(output) | Traceback (most recent call last):
File "/tmp/tmpsn864280/tmpmepyv91v.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s376965894 | p04044 | u000644874 | 1595621484 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9080 | 123 | N, L = map(int, input().split())
S = [input() for s in range(L)]
S.sort()
output = ""
for i in S:
output+=i
prunt(output) | Traceback (most recent call last):
File "/tmp/tmpu6iwtd3_/tmp89u409hs.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s503451665 | p04044 | u113255362 | 1595437978 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9116 | 152 | N,L=map(int,input().split())
List = []
for i in range (N):
List.append(int(input()))
List.sort()
res = ""
for i in range(N):
res+=List[i]
print(res) | Traceback (most recent call last):
File "/tmp/tmp8hrl4wgd/tmppzt8xk2o.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s383095740 | p04044 | u548775658 | 1594345930 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9064 | 106 | N,L=map(int, input().split())
ls = []
for i in range(N):
ls.append(split())
ls.sort()
print("".join(ls)) | Traceback (most recent call last):
File "/tmp/tmpnx7e563s/tmpivv9yz2y.py", line 1, in <module>
N,L=map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s871747659 | p04044 | u629276590 | 1594343851 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8972 | 128 | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(str(input()))
a="".join(sorted(s))
print(a | File "/tmp/tmpr4r4bazs/tmpic8brly_.py", line 9
print(a
^
SyntaxError: '(' was never closed
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.