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
s648763613
p02419
u831244171
1477662791
Python
Python
py
Runtime Error
0
0
166
W = raw_input().lower() T= [] while True: t = input() if t == "END_OF_TEXT": break else: T += t.lower().split() print(T) print(T.count(W))
Traceback (most recent call last): File "/tmp/tmphxdgtr9p/tmp0hqnm_ji.py", line 1, in <module> W = raw_input().lower() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s477327771
p02419
u801346721
1478051271
Python
Python3
py
Runtime Error
0
0
153
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('.') s = list(s.split()) a.append(s) print(a.count(a[0]) - 1)
File "/tmp/tmp6sldv_un/tmp_d7j7qbe.py", line 7 s = list(s.split('.') ^ SyntaxError: '(' was never closed
s374434875
p02419
u801346721
1478051446
Python
Python3
py
Runtime Error
0
0
185
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('.')) s.remove('.') s.joint(' ') s = list(s.split()) a.append(s) print(a.count(a[0]) - 1)
Traceback (most recent call last): File "/tmp/tmpoexd9x8a/tmphd13t31p.py", line 3, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s275702796
p02419
u801346721
1478051592
Python
Python3
py
Runtime Error
0
0
173
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('.')) s.remove('.') s = list(s[0].split()) a.append(s) print(a.count(a[0]) - 1)
Traceback (most recent call last): File "/tmp/tmp6cdy06p2/tmpcmi2ad38.py", line 3, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s321294557
p02419
u801346721
1478051631
Python
Python3
py
Runtime Error
0
0
172
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('.')) s.remove('') s = list(s[0].split()) a.append(s) print(a.count(a[0]) - 1)
Traceback (most recent call last): File "/tmp/tmp98ypfjcu/tmpmxmxs2_2.py", line 3, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s845571725
p02419
u801346721
1478051743
Python
Python3
py
Runtime Error
0
0
171
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('')) s.remove('') s = list(s[0].split()) a.append(s) print(a.count(a[0]) - 1)
Traceback (most recent call last): File "/tmp/tmpe04xdo_2/tmp82ufdopn.py", line 3, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s011154680
p02419
u801346721
1478051898
Python
Python3
py
Runtime Error
0
0
156
a = [] while 1: s = input() if s == 'END_OF_TEXT': break else: s = list(s.split('')) s = list(s[0].split()) a.append(s) print(a.count(a[0]) - 1)
Traceback (most recent call last): File "/tmp/tmp65gnv14p/tmpqvek2zlb.py", line 3, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s045694405
p02419
u854978981
1480421191
Python
Python3
py
Runtime Error
0
0
130
w = input() count = 0 while True: t = input().lower if t == "END_OF_TEXT": break count += t.count(w) print(int(count))
Traceback (most recent call last): File "/tmp/tmpe6pwjblm/tmpem7hcw9f.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s573596375
p02419
u957840591
1482161182
Python
Python3
py
Runtime Error
0
0
152
W=raw_input() Text=[] while True: text=raw_input() if text=='END_OF_TEXT': break Text.extend(text.split()) print('%d'%Text.count(W))
Traceback (most recent call last): File "/tmp/tmptlnjat_k/tmpo_j519q1.py", line 1, in <module> W=raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s143400284
p02419
u957840591
1482161884
Python
Python3
py
Runtime Error
0
0
219
w=raw_input() W=w.lower() Text=[] while True: text=raw_input() if text=='END_OF_TEXT': break Text.extend(text.split()) for i in range(len(Text)): Text[i]=Text[i].lower() print('%d'%Text.count(W))
Traceback (most recent call last): File "/tmp/tmp3_bp57p3/tmp_9q2_nrg.py", line 1, in <module> w=raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s866008389
p02419
u032662562
1483314019
Python
Python
py
Runtime Error
0
0
132
import sys w = input().lower() lines = sys.stdin.read() line=lines[0:lines.find('END_OF_TEXT')].lower().split() print(line.count(w))
Traceback (most recent call last): File "/tmp/tmp3vy2d_lt/tmps0ybsc7x.py", line 2, in <module> w = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s742379042
p02419
u513411598
1485080554
Python
Python3
py
Runtime Error
0
0
95
import sys W = input() print(sys.stdin.read().rstrip('END_OF_TEXT').lower().split(" ").count())
Traceback (most recent call last): File "/tmp/tmpl88t3iqo/tmp300dfeu_.py", line 2, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s889761777
p02419
u548155360
1487319168
Python
Python3
py
Runtime Error
0
0
131
W = input() T = [] while True: R = input().lower() if R == "END_OF_TEXT": break T.append(R) T = ''.join(T) print(T.count(W))
Traceback (most recent call last): File "/tmp/tmpv8fouv7p/tmp1vfdwesb.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s758489010
p02419
u731896389
1487947363
Python
Python3
py
Runtime Error
0
0
154
cnt = 0 s = input().lower() while 1: W = input().lower().split() if W == "END_OF_TEXT": break elif W == s: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmp6d8pz04s/tmpr792a3hn.py", line 2, in <module> s = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s971834466
p02419
u731896389
1487947424
Python
Python3
py
Runtime Error
0
0
152
cnt = 0 s = input().lower() while 1: W = input().split().lower if W == "END_OF_TEXT": break elif W == s: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpa5r64nwq/tmpqa8lq7pt.py", line 2, in <module> s = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s212760136
p02419
u731896389
1487947771
Python
Python3
py
Runtime Error
0
0
142
cnt = 0 s = input().lower() while 1: line = input() if W == "END_OF_TEXT": break for s in line.lower().split(): print(cnt)
File "/tmp/tmpytgda530/tmpz6ijyyj7.py", line 8 print(cnt) IndentationError: expected an indented block after 'for' statement on line 7
s030952769
p02419
u731896389
1487947845
Python
Python3
py
Runtime Error
0
0
145
cnt = 0 s = input().lower() while 1: line = input() if line == "END_OF_TEXT": break for s in line.lower().split(): print(cnt)
File "/tmp/tmpz7j7_t24/tmpg11k7kiu.py", line 8 print(cnt) IndentationError: expected an indented block after 'for' statement on line 7
s298740933
p02419
u024715419
1488349574
Python
Python3
py
Runtime Error
0
0
78
import sys w = input() t = sys.stdin.read().split() print(t.lower().count(w))
Traceback (most recent call last): File "/tmp/tmp8y6p3p4k/tmp8y_n3hdi.py", line 3, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s279103759
p02419
u024715419
1488349602
Python
Python3
py
Runtime Error
0
0
78
import sys w = input() t = sys.stdin.read().split() print(t.lower().count(w))
Traceback (most recent call last): File "/tmp/tmp23dqttl2/tmpnuauje51.py", line 3, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s670265830
p02419
u130834228
1489122865
Python
Python3
py
Runtime Error
0
0
229
W = input() print(W) t=0 while(1): char_list = list(x.lower() for x in input().split()) print(char_list) if char_list[0] == 'END_OF_TEXT': break for i in range(len(char_list)): if W == char_list[i]: t += 1 print(t)
Traceback (most recent call last): File "/tmp/tmp_juod1h3/tmph3jfeeyi.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s353630633
p02419
u130834228
1489122890
Python
Python3
py
Runtime Error
0
0
230
W = input() print(W) t=0 while(1): char_list = list(x.lower() for x in input().split()) #print(char_list) if char_list[0] == 'END_OF_TEXT': break for i in range(len(char_list)): if W == char_list[i]: t += 1 print(t)
Traceback (most recent call last): File "/tmp/tmp7a16y93z/tmpv_ekybeb.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s014056625
p02419
u130834228
1489122936
Python
Python3
py
Runtime Error
0
0
231
W = input() #print(W) t=0 while(1): char_list = list(x.lower() for x in input().split()) #print(char_list) if char_list[0] == 'END_OF_TEXT': break for i in range(len(char_list)): if W == char_list[i]: t += 1 print(t)
Traceback (most recent call last): File "/tmp/tmp59psh7b3/tmpdcd3hbqz.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s889582033
p02419
u130834228
1489122962
Python
Python3
py
Runtime Error
0
0
231
W = input() #print(W) t=0 while(1): char_list = list(x.lower() for x in input().split()) #print(char_list) if char_list[0] == 'END_OF_TEXT': break for i in range(len(char_list)): if W == char_list[i]: t += 1 print(t)
Traceback (most recent call last): File "/tmp/tmp_3gmgm5i/tmpatgkmke5.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s665902232
p02419
u868716420
1489700492
Python
Python3
py
Runtime Error
0
0
179
wor = input().upper() import re while True : tes = input() if tes == 'END_OF_TEXT': break tes = tes.upper() m = re.findall(wor, tes) cou += len(m) print(cou)
Traceback (most recent call last): File "/tmp/tmpokk1i4gn/tmpy4ec7bu5.py", line 1, in <module> wor = input().upper() ^^^^^^^ EOFError: EOF when reading a line
s269109148
p02419
u286589639
1492650951
Python
Python3
py
Runtime Error
0
0
343
def check(s, p): if s == p: return 1 else: return 0 word = input().lower() print(word) count = 0 while 1: array = input().lower() if array == "END_OF_TEXT": break print(array) for i in range(len(array)-len(word)+1): if array[i:i+len(word)] == word: c...
Traceback (most recent call last): File "/tmp/tmp5f2r6s13/tmpmgptqqvo.py", line 7, in <module> word = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s939189387
p02419
u213265973
1494374690
Python
Python3
py
Runtime Error
0
0
153
W = input() count = 0 while True: T = input().split(" ") if T == "END_OF_TEXT": break count += T.count(W) print(count)
Traceback (most recent call last): File "/tmp/tmprvmnyzjy/tmpwfyd0fxh.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s314462633
p02419
u213265973
1494374747
Python
Python3
py
Runtime Error
0
0
153
W = input() count = 0 while True: T = input().split(" ") if T == "END_OF_TEXT": break count += T.count(W) print(count)
Traceback (most recent call last): File "/tmp/tmpl6amsc6e/tmpdvcgezfz.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s118498344
p02419
u362104929
1495175073
Python
Python3
py
Runtime Error
0
0
277
count = 0 W = input().lower() T = "" while True: try: if T[0] == "END_OF_TEXT": break for t in T: if W == t: count += 1 T = [x.lower() for x in input().split()] except EOFError: break print(count)
Traceback (most recent call last): File "/tmp/tmphpeguc9t/tmpzshvqkns.py", line 2, in <module> W = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s789353985
p02419
u362104929
1495175170
Python
Python3
py
Runtime Error
30
7368
277
count = 0 W = input().lower() T = [0] while True: try: if T[0] == "END_OF_TEXT": break for t in T: if W == t: count += 1 T = [x.lower() for x in input().split()] except EOFError: break print(count)
Traceback (most recent call last): File "/tmp/tmpgs2jmwtz/tmppnw77qt8.py", line 2, in <module> W = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s867588474
p02419
u605879293
1501069071
Python
Python3
py
Runtime Error
0
0
126
w = input() i = 0 while True: t = input() if t == "END_OF_TEXT" or not t: break if w in t: i += 1 print(i if i != 0)
File "/tmp/tmpaxuhm33t/tmp04osyfxp.py", line 12 print(i if i != 0) ^^^^^^^^^^^ SyntaxError: expected 'else' after 'if' expression
s159742844
p02419
u311299757
1501381993
Python
Python3
py
Runtime Error
0
0
199
search_s = input() cnt = 0 while True: word_list = input().lower().split() if word_list[0] == "END_OF_TEXT" : break for word in word_list: if word == search_s:cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpl8q8m1q1/tmpc4s_8cg2.py", line 1, in <module> search_s = input() ^^^^^^^ EOFError: EOF when reading a line
s705398124
p02419
u498511622
1501725580
Python
Python3
py
Runtime Error
0
0
147
W=input() s=0 while True: T=list(input().split()) for i in T: if T=='END_OF_TEXT': break else: if i==W: s+=1 print(s)
Traceback (most recent call last): File "/tmp/tmp9i17bko_/tmp6egxia6j.py", line 1, in <module> W=input() ^^^^^^^ EOFError: EOF when reading a line
s610628788
p02419
u498511622
1501726193
Python
Python3
py
Runtime Error
0
0
139
W=input() s=0 while True: T=list(input()) if T==['END_OF_TEXT']: break else: for i in T: if i==W: s+=1 print(s)
Traceback (most recent call last): File "/tmp/tmpn1i3rzbz/tmpkszyr8vr.py", line 1, in <module> W=input() ^^^^^^^ EOFError: EOF when reading a line
s904915096
p02419
u105694406
1504157633
Python
Python3
py
Runtime Error
0
0
148
word = input() string = input().lower() last = "" while last != "END_OF_TEXT": last = input().lower() string += last print(string.count(word))
Traceback (most recent call last): File "/tmp/tmpoozo10ns/tmpe5ekvcr8.py", line 1, in <module> word = input() ^^^^^^^ EOFError: EOF when reading a line
s783027583
p02419
u933096856
1505446673
Python
Python3
py
Runtime Error
0
0
173
c=0 s='' p=input().upper() while True: s1=input() if s1 =='END_OF_TEXT': break s+=s1 a=s.upper().split() for i in a: if p in i: c+=1 print(c)
File "/tmp/tmpz2tyznsf/tmplrxcrrf_.py", line 8 s+=s1 ^ IndentationError: unindent does not match any outer indentation level
s895506759
p02419
u506705885
1505497014
Python
Python3
py
Runtime Error
0
0
279
word=input() how_in=0 while True: try: statement=input() except: break if statement=='END_OF_TEXT': break statement=statement.lower() statement.remove(' ') if word in statement : how_in+=statement.count(word) print(how_in)
Traceback (most recent call last): File "/tmp/tmpke4qoijr/tmpfi_hudiu.py", line 1, in <module> word=input() ^^^^^^^ EOFError: EOF when reading a line
s673046081
p02419
u506705885
1505497584
Python
Python3
py
Runtime Error
0
0
201
word=input().lower() how_int=0 while True: letters=input() if letters=='END_OF_TEXT': break for i in letters.lower().split(): if i==word: how_in+=1 print(how_in)
Traceback (most recent call last): File "/tmp/tmp87rj1sjd/tmpp0k5m5ac.py", line 1, in <module> word=input().lower() ^^^^^^^ EOFError: EOF when reading a line
s513556992
p02419
u027634846
1505876754
Python
Python3
py
Runtime Error
0
0
242
word = input() text = [] c = 0 while True: read = input().lower().split() if read[0] == 'end_of_text': break else: text.append(read) for i in text: for n in i: if word in ne: c += 1 print(c)
Traceback (most recent call last): File "/tmp/tmpg59u182n/tmpw8bznl3p.py", line 1, in <module> word = input() ^^^^^^^ EOFError: EOF when reading a line
s265908590
p02419
u664228906
1507257496
Python
Python3
py
Runtime Error
0
0
96
word = string(input()) texts = list(string, input().split()) ans = texts.count(word) print ans
File "/tmp/tmpo16lp_fy/tmp3no6h2l2.py", line 6 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s023410651
p02419
u664228906
1507258334
Python
Python3
py
Runtime Error
0
0
218
word = string(input().lower()) texts = [] while TRUE: str = input() if str == 'END_OF_TEXT': break str = str.lower() texts.extends([s.lower() for s in str.split()] ) ans = texts.count(word) print ans
File "/tmp/tmpbq09whdu/tmp3rf4o2wf.py", line 13 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s527320750
p02419
u664228906
1507258635
Python
Python3
py
Runtime Error
0
0
209
word = input().lower() texts = [] while TRUE: str = input() if str == 'END_OF_TEXT': break str = str.lower() texts.extend([s.lower() for s in str.split()] ) ans = texts.count(word) print ans
File "/tmp/tmpa6fgt23l/tmp8c_bta4g.py", line 13 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s134775342
p02419
u664228906
1507258657
Python
Python3
py
Runtime Error
0
0
189
word = input().lower() texts = [] while TRUE: str = input() if str == 'END_OF_TEXT': break texts.extend([s.lower() for s in str.split()] ) ans = texts.count(word) print ans
File "/tmp/tmpb9se4ird/tmp0ph6ckoc.py", line 12 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s262834354
p02419
u664228906
1507259781
Python
Python3
py
Runtime Error
0
0
190
word = input().lower() texts = [] while TRUE: str = input() if str == 'END_OF_TEXT': break texts.extend([s.lower() for s in str.split()] ) ans = texts.count(word) print(ans)
Traceback (most recent call last): File "/tmp/tmpiwmqj_96/tmpv317arw_.py", line 1, in <module> word = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s410583235
p02419
u480053997
1507420432
Python
Python3
py
Runtime Error
0
0
56
W = input() print(((sys.stdin.read()).lower()).count(W))
Traceback (most recent call last): File "/tmp/tmpymuqnbxi/tmpzy7mamov.py", line 1, in <module> W = input() ^^^^^^^ EOFError: EOF when reading a line
s686526521
p02419
u197670577
1508243735
Python
Python
py
Runtime Error
0
0
175
word = raw_input() counter = 0 while True: line = raw_input() if line == "end_of_text": break counter += line.lower().split(" ").count(word) print counter
File "/tmp/tmpajfer1v1/tmp_30phnm5.py", line 9 print counter ^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s932266524
p02419
u298999032
1511250636
Python
Python3
py
Runtime Error
0
0
123
tt=input() a='' while True: text=input().upper if text=='END_OF_TEXT': break a+=text print(a.count(tt))
Traceback (most recent call last): File "/tmp/tmpouq848ry/tmpp2x82msi.py", line 1, in <module> tt=input() ^^^^^^^ EOFError: EOF when reading a line
s274154967
p02419
u566872786
1511252790
Python
Python3
py
Runtime Error
0
0
57
import sys print(sys.stdin.read().split().count(input()))
Traceback (most recent call last): File "/tmp/tmpv5tstd0o/tmp1o0bgs_b.py", line 2, in <module> print(sys.stdin.read().split().count(input())) ^^^^^^^ EOFError: EOF when reading a line
s572068413
p02419
u150984829
1513234444
Python
Python3
py
Runtime Error
0
0
98
W=input() T='' while 1: a=input() if'END_OF_TEXT'!=a:T+=a' else:break T+=' ' print(T.count(W))
File "/tmp/tmp7vhymfo1/tmp6wl31y59.py", line 5 if'END_OF_TEXT'!=a:T+=a' ^ SyntaxError: unterminated string literal (detected at line 5)
s358745804
p02419
u150984829
1513235052
Python
Python3
py
Runtime Error
0
0
105
W=input().lower() T='' while 1: a=input().lower()+' ' if'END_OF_TEXT '==a:break T+=a print(T.count(W))
Traceback (most recent call last): File "/tmp/tmpn_1q60dd/tmpcdpstx0r.py", line 1, in <module> W=input().lower() ^^^^^^^ EOFError: EOF when reading a line
s871126198
p02419
u150984829
1513235142
Python
Python3
py
Runtime Error
0
0
93
W=input() T='' while 1: a=input() if'END_OF_TEXT '==a:break T+=a.lower() print(T.count(W))
Traceback (most recent call last): File "/tmp/tmp9acuhow8/tmppurmwffd.py", line 1, in <module> W=input() ^^^^^^^ EOFError: EOF when reading a line
s422873733
p02419
u150984829
1513235739
Python
Python3
py
Runtime Error
0
0
114
W=input() T='' while 1: a=input() if'END_OF_TEXT '==a:break T+=[s.lower() for s in a.split()] print(T.count(W))
Traceback (most recent call last): File "/tmp/tmpz6q_z4mz/tmple99_ae7.py", line 1, in <module> W=input() ^^^^^^^ EOFError: EOF when reading a line
s149262865
p02419
u150984829
1513235753
Python
Python3
py
Runtime Error
0
0
114
W=input() T=[] while 1: a=input() if'END_OF_TEXT '==a:break T+=[s.lower() for s in a.split()] print(T.count(W))
Traceback (most recent call last): File "/tmp/tmp_76muxcg/tmp_0felnle.py", line 1, in <module> W=input() ^^^^^^^ EOFError: EOF when reading a line
s269750078
p02419
u150984829
1513670469
Python
Python3
py
Runtime Error
0
0
113
while 1: s=input() if'-'==s:break n=sum([int(input())for _ in range(int(input()))])%len(s) print(s[n:]+s[:n])
Traceback (most recent call last): File "/tmp/tmp_nx0ay_h/tmptizg4gs1.py", line 2, in <module> s=input() ^^^^^^^ EOFError: EOF when reading a line
s603049637
p02419
u406002631
1514005914
Python
Python3
py
Runtime Error
0
0
131
w = input().lower() t = 0 while True: s = input().lower() if s == "END_OF_TEXT": break t += s.count(w) print(t)
Traceback (most recent call last): File "/tmp/tmphtvpp90t/tmpkin5q10c.py", line 1, in <module> w = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s498975145
p02419
u146752763
1516975179
Python
Python
py
Runtime Error
0
0
278
# coding:utf-8 W = raw_input().lower() array = [] cnt = 0 while True: line = raw_input() if line == "END_OF_TEXT" break split = line.lower().split() for s in split: array.append(s) for word in array: if W == word: cnt += 1 print cnt
File "/tmp/tmp1fvo5mp0/tmp112v72h_.py", line 7 if line == "END_OF_TEXT" ^ SyntaxError: expected ':'
s769164181
p02419
u179070318
1518352704
Python
Python3
py
Runtime Error
0
0
149
w = input() cnt = 0 while True: t = input().lower() if t == 'END_OF_TEXT': break if w in t.split(): cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpn4gvvbig/tmp80xr_js8.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s167657628
p02419
u780025254
1519226785
Python
Python3
py
Runtime Error
0
0
71
import sys w = input() print(sys.stdin.read().lower().split().cout(w))
Traceback (most recent call last): File "/tmp/tmpfwqe7yuh/tmpx8pq_v0m.py", line 2, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s197554538
p02419
u780025254
1519226839
Python
Python3
py
Runtime Error
0
0
69
import sys W=input() print(sys.stdin.read().lower().split().count(W)
File "/tmp/tmp9x497f4j/tmpjpvw_nlu.py", line 3 print(sys.stdin.read().lower().split().count(W) ^ SyntaxError: '(' was never closed
s812195004
p02419
u613534067
1520324823
Python
Python3
py
Runtime Error
0
0
193
w = input() cnt = 0 while(True): t = input() if t == "END_OF_TEXT": break t = list(map(lower, t.split())) for i in t: if i == w: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmp6nha2xke/tmp67ohmwxr.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s612154579
p02419
u613534067
1520324845
Python
Python3
py
Runtime Error
0
0
195
w = input() cnt = 0 while(True): t = input() if t == "END_OF_TEXT": break t = list(map(lower(), t.split())) for i in t: if i == w: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpmwd6fyo_/tmp_1zdsi2v.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s549495584
p02419
u613534067
1520324970
Python
Python3
py
Runtime Error
0
0
197
w = input() cnt = 0 while(True): t = input() if t == "END_OF_TEXT": break t = t.lower t = list(t.split()) for i in t: if i == w: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmp7wcricys/tmpf86h93v4.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s455150476
p02419
u613534067
1520325007
Python
Python3
py
Runtime Error
0
0
191
w = input() cnt = 0 while(True): t = input() if t == "END_OF_TEXT": break t = t.lower t = t.split() for i in t: if i == w: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpuk4_81no/tmp7vvt87j6.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s483428999
p02419
u613534067
1520325262
Python
Python3
py
Runtime Error
0
0
199
w = input() cnt = 0 while(True): t = input() if t == "END_OF_TEXT": break t = t.lower tlist = t.split() for i in tlist: if i == w: cnt += 1 print(cnt)
Traceback (most recent call last): File "/tmp/tmpewp59x47/tmppb160so6.py", line 1, in <module> w = input() ^^^^^^^ EOFError: EOF when reading a line
s495536820
p02419
u641357568
1522160600
Python
Python3
py
Runtime Error
0
0
246
import sys W = sys.stdin.readline().strip() num = 0 while True: T = sys.stdin.readline().strip() if T == 'END_OF_TEXT' break T_line = T.split() for i in T_line: if W == i: num += 1 print(num,end='')
File "/tmp/tmp2wwuz6pb/tmp68q69q15.py", line 8 if T == 'END_OF_TEXT' ^ SyntaxError: expected ':'
s362509641
p02419
u886729200
1522913435
Python
Python3
py
Runtime Error
0
0
375
string=[] W = input()#単語入力 while True: T = input()#入力 if T == '':#EOT入力のときループぬける break string.append(T)#list追加 count=0 for i in range(len(string)): string[i]=string[i].lower() string[i] = string[i].split(" ") for j in range(len(string[i])): if W == string[i][j]: count...
Traceback (most recent call last): File "/tmp/tmpch01nxvy/tmp89rk7jiy.py", line 2, in <module> W = input()#単語入力 ^^^^^^^ EOFError: EOF when reading a line
s097940891
p02419
u095590628
1523735600
Python
Python3
py
Runtime Error
0
0
133
W = input().lower() T = "" while True: t = input().lower() if t == "END_OF_TEXT": break T += t print(T.count(W))
Traceback (most recent call last): File "/tmp/tmpileksieo/tmpdd47ykn8.py", line 1, in <module> W = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s087417146
p02419
u682153677
1524040019
Python
Python3
py
Runtime Error
0
0
272
# -*- coding: utf-8 -*- import sys w = sys.stdin.readline().strip() count = 0 while True: t = list(map(int, input().split())) if 'END_OF_TEXT' in t: break for i in range(len(t)): if t[i].lower() == w: count += 1 print(count)
Traceback (most recent call last): File "/tmp/tmpa7jq50z1/tmpri8ec4a0.py", line 9, in <module> t = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s103362870
p02419
u986478725
1527343055
Python
Python3
py
Runtime Error
0
0
564
# AOJ ITP1_9_A def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a # ※大文字と小文字を区別しないので注意!!!! # 全部大文字にしちゃえ。 def main(): W = input().upper() # 大文字にする line = "" count = 0 while True: line = input().split() if line == "END_OF_TEXT": bre...
Traceback (most recent call last): File "/tmp/tmp3n3amstp/tmpn26e2rh5.py", line 24, in <module> main() File "/tmp/tmp3n3amstp/tmpn26e2rh5.py", line 12, in main W = input().upper() # 大文字にする ^^^^^^^ EOFError: EOF when reading a line
s015432622
p02419
u269391636
1527608858
Python
Python3
py
Runtime Error
0
0
153
a,s=0,input() while(True): t = input().split() if t[0] == "END_OF_TEXT": print(a) quit() for i in t: if i.lower() in lis: a += 1
Traceback (most recent call last): File "/tmp/tmp0a54xt7j/tmprvnapnzj.py", line 1, in <module> a,s=0,input() ^^^^^^^ EOFError: EOF when reading a line
s024193458
p02419
u763301852
1363427224
Python
Python
py
Runtime Error
0
0
206
W = raw_input().lower() c = 0 while True: T = raw_input().lower() if T == "END_OF_TEXT": break Ti = T.split() for i in Ti: if i == W: c += 1 print("%d" % (c, ))
Traceback (most recent call last): File "/tmp/tmp8e9wpz0v/tmp2nco0z9f.py", line 1, in <module> W = raw_input().lower() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s190879735
p02419
u912237403
1371249182
Python
Python
py
Runtime Error
0
0
174
w0 = raw_input().lower() c = 0 while True: s = raw_input() if s == 'END_OF_TEXT': break for w in s..lower().split() if w == w0: c += 1 print c
File "/tmp/tmp5y2bof7l/tmp5m2b0kjk.py", line 6 for w in s..lower().split() ^ SyntaxError: invalid syntax
s788104105
p02419
u912237403
1371249207
Python
Python
py
Runtime Error
0
0
175
w0 = raw_input().lower() c = 0 while True: s = raw_input() if s == 'END_OF_TEXT': break for w in s..lower().split(): if w == w0: c += 1 print c
File "/tmp/tmp4ff8dyjj/tmp696ihrg6.py", line 6 for w in s..lower().split(): ^ SyntaxError: invalid syntax
s753642229
p02419
u633068244
1393332441
Python
Python
py
Runtime Error
0
0
141
w = raw_input() sum = 0 while True: t = raw_input() if t == "END_OF_TEXT": break elif t == w sum += 1 print sum
File "/tmp/tmpw01ekvjm/tmpid8lwjyf.py", line 8 elif t == w ^ SyntaxError: expected ':'
s899003558
p02419
u633068244
1393332663
Python
Python
py
Runtime Error
0
0
154
w = raw_input().lower sum = 0 while True: t = raw_input().lower if t == "END_OF_TEXT": break else: sum += t.count(w) print sum
File "/tmp/tmp95syie1_/tmpupedvrg5.py", line 9 print sum ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s545853682
p02419
u633068244
1393332677
Python
Python
py
Runtime Error
0
0
158
w = raw_input().lower() sum = 0 while True: t = raw_input().lower() if t == "END_OF_TEXT": break else: sum += t.count(w) print sum
File "/tmp/tmp6997kc3p/tmp8zbjrziz.py", line 9 print sum ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s996940604
p02419
u633068244
1393333179
Python
Python
py
Runtime Error
0
0
176
w = raw_input().lower() sum = 0 while True: t = map(str, raw_input().split()) if t == "END_OF_TEXT": break else: sum += t.lower().count(w) print sum
File "/tmp/tmpwl98m318/tmpei54izxp.py", line 9 print sum ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s389063563
p02419
u633068244
1393333200
Python
Python
py
Runtime Error
0
0
166
w = raw_input().lower() sum = 0 while True: t = raw_input().split() if t == "END_OF_TEXT": break else: sum += t.lower().count(w) print sum
File "/tmp/tmp2xxc17u_/tmprf_xkv5d.py", line 9 print sum ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s054877869
p02419
u436634575
1400724652
Python
Python3
py
Runtime Error
0
0
121
w = input().lower() n = 0 while True: t = input() if t == 'END_OF_TEXT': break n += t.lower.count(w) print(n)
Traceback (most recent call last): File "/tmp/tmpvftgg5fi/tmpw72a6wko.py", line 1, in <module> w = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s938647985
p02420
u749884951
1534847458
Python
Python3
py
Runtime Error
0
0
153
s = input() while s != "0": n = int(input()) for i in range(n): h = int(input()) s = s[h:] + s[:h] print(s) s = input()
Traceback (most recent call last): File "/tmp/tmp6yltstr0/tmp0c8es8y7.py", line 1, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s990960773
p02420
u928633434
1556617711
Python
Python3
py
Runtime Error
0
0
177
while True: cards = str(input()) if cards == '-': break n = int(input()) for i in range(n): p = str(input()) cards = cards[p:] + cards[:p] print(cards)
Traceback (most recent call last): File "/tmp/tmpzfpv0pw8/tmp4ivpag2q.py", line 2, in <module> cards = str(input()) ^^^^^^^ EOFError: EOF when reading a line
s425914611
p02420
u805716376
1556727740
Python
Python3
py
Runtime Error
0
0
296
s = input() n = int(input()) for i in range(n): order, a, b, *c = input().split() a = int(a) b = int(b) if order == 'replace': s = s[:a] + c[0] + s[b+1:] elif order[0] == 'r': s = s[:a] + s[::-1][len(s)-b-1:len(s)-a]+ s[b+1:] else: print(s[a:b+1])
Traceback (most recent call last): File "/tmp/tmpd7gy33j3/tmpy3ojxngi.py", line 1, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s221285250
p02420
u535719732
1559296274
Python
Python3
py
Runtime Error
0
0
368
while True: data = input() if(data == "-"):break m = int(input()) tmp = [] flag = False for i in range(m): num = int(input()) if(!flag): tmp = data[num:] + data[:num] flag = True data = "" else: data = tmp[num:] + tmp[:num...
File "/tmp/tmpqhb19mhu/tmp58wdd0mc.py", line 9 if(!flag): ^ SyntaxError: invalid syntax
s362622907
p02420
u607723579
1559541124
Python
Python3
py
Runtime Error
0
0
748
mport sys BIG_NUM = 2000000000 MOD = 1000000007 EPS = 0.000000001 NUM = 20005 table = [""]*NUM while True: T = str(input()) if T == '-': break left = 0 right = 0 #長い配列にパターン文字列を転記 for i in range(len(T)): # print(T[right]) table[left+right] = T[right] ...
File "/tmp/tmpgurwk3lp/tmp_oahd3ya.py", line 1 mport sys ^^^ SyntaxError: invalid syntax
s618946939
p02420
u607723579
1559541147
Python
Python3
py
Runtime Error
0
0
748
mport sys BIG_NUM = 2000000000 MOD = 1000000007 EPS = 0.000000001 NUM = 20005 table = [""]*NUM while True: T = str(input()) if T == '-': break left = 0 right = 0 #長い配列にパターン文字列を転記 for i in range(len(T)): # print(T[right]) table[left+right] = T[right] ...
File "/tmp/tmp34h5q64l/tmplc1ngxly.py", line 1 mport sys ^^^ SyntaxError: invalid syntax
s916059859
p02420
u823030818
1423188719
Python
Python3
py
Runtime Error
0
0
201
while Ture: text = input() if text = '-': break count = int(input()) for c in range(count): index = int(input()) text - text[index:] + text[:index] print(text)
File "/tmp/tmp39hbhfrh/tmp4jediqdm.py", line 3 if text = '-': ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s797903336
p02420
u823030818
1423188756
Python
Python3
py
Runtime Error
0
0
201
while True: text = input() if text = '-': break count = int(input()) for c in range(count): index = int(input()) text - text[index:] + text[:index] print(text)
File "/tmp/tmp4syh7pbs/tmpi6nhhjyz.py", line 3 if text = '-': ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s748861680
p02420
u823030818
1423188893
Python
Python3
py
Runtime Error
0
0
201
while True: text = input() if text = '-': break count = int(input()) for c in range(count): index = int(input()) text = text[index:] + text[:index] print(text)
File "/tmp/tmpgkxhgk0a/tmpzuz2bn5s.py", line 3 if text = '-': ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s620712715
p02420
u823030818
1423189095
Python
Python3
py
Runtime Error
0
0
202
while True: text = input() if text == '-': break count = int(input()) for c in range(count): index = int(input()) text - text[index:] + text[:index] print(text)
Traceback (most recent call last): File "/tmp/tmp7jsatmd_/tmpuabcpacp.py", line 2, in <module> text = input() ^^^^^^^ EOFError: EOF when reading a line
s003389461
p02420
u467309160
1443545535
Python
Python3
py
Runtime Error
0
0
173
while True: s = raw_input() if s == "-": break for i in range(int(raw_input())): h = int(raw_input()) s = s[h:] + s[0:h] print(s)
Traceback (most recent call last): File "/tmp/tmpo6lc4_pb/tmp3liqm0u5.py", line 2, in <module> s = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s985429327
p02420
u467309160
1443545545
Python
Python3
py
Runtime Error
0
0
173
while True: s = raw_input() if s == "-": break for i in range(int(raw_input())): h = int(raw_input()) s = s[h:] + s[0:h] print(s)
Traceback (most recent call last): File "/tmp/tmpads8eje1/tmpswy0xa2x.py", line 2, in <module> s = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s250484406
p02420
u467309160
1443545585
Python
Python3
py
Runtime Error
0
0
173
while True: s = raw_input() if s == "-": break for i in range(int(raw_input())): h = int(raw_input()) s = s[h:] + s[0:h] print(s)
Traceback (most recent call last): File "/tmp/tmp8s1epkpw/tmpsevllxx8.py", line 2, in <module> s = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s927239431
p02420
u224288634
1444395909
Python
Python
py
Runtime Error
0
0
271
def shuffle(l,h): l.extend(l[0:h]) del l[0:h] while True : card_list = list(raw_input()) if card_list == ['.']: break else : m = input() h_count = [0]*m for i in range(m): h_count[i] = input() shuffle(card_list,h_count[i]) print("".join(card_list))
Traceback (most recent call last): File "/tmp/tmpf70kfvja/tmpiwj2wzdl.py", line 6, in <module> card_list = list(raw_input()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s133228580
p02420
u628732336
1470289637
Python
Python3
py
Runtime Error
0
0
199
w = input() ccount = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print()
File "/tmp/tmp_ontz762/tmp63b39vd6.py", line 9 for s in line.lower().split(): ^ IndentationError: unindent does not match any outer indentation level
s353135854
p02420
u204883389
1470289697
Python
Python3
py
Runtime Error
0
0
211
while True: s = input().split() if s == "-": break card = [x for x in s] for i in range(int(input())): h = int(input()) card = card[h:] + card[:h] print("".join(card))
Traceback (most recent call last): File "/tmp/tmpmuk4mb3e/tmp4_a8f6ht.py", line 2, in <module> s = input().split() ^^^^^^^ EOFError: EOF when reading a line
s427553190
p02420
u498041957
1470290081
Python
Python3
py
Runtime Error
0
0
164
while True: s = input() if s == '_': break m = int(input()) for mi in range(m): h = int(input()) s = s[0] + s[1] print(s)
File "/tmp/tmphhbpxalq/tmpkyftmuir.py", line 6 m = int(input()) ^ IndentationError: unindent does not match any outer indentation level
s425895226
p02420
u498041957
1470290149
Python
Python3
py
Runtime Error
0
0
174
while True: s = input() if s == '_': break m = int(input()) for mi in range(m): h = int(input()) s = s[:index] + s[:index] print(s)
File "/tmp/tmpdscqdpkt/tmp8mfe49g3.py", line 6 m = int(input()) ^ IndentationError: unindent does not match any outer indentation level
s282387224
p02420
u498041957
1470290220
Python
Python3
py
Runtime Error
0
0
174
while True: s = input() if s == '_': break m = int(input()) for mi in range(m): h = int(input()) s = s[index:] + s[:index] print(s)
File "/tmp/tmp3pge1iy5/tmpv_b0l0pw.py", line 6 m = int(input()) ^ IndentationError: unindent does not match any outer indentation level
s011430663
p02420
u498041957
1470290273
Python
Python3
py
Runtime Error
0
0
166
while True: s = input() if s == '_': break m = int(input()) for mi in range(m): h = int(input()) s = s[m:] + s[:m] print(s)
File "/tmp/tmpuf02x_ng/tmpc8sld73s.py", line 6 m = int(input()) ^ IndentationError: unindent does not match any outer indentation level
s731572591
p02420
u498041957
1470290465
Python
Python3
py
Runtime Error
0
0
166
while True: s = input() if s == '_': break m = int(input()) for mi in range(m): h = int(input()) s = s[h:] + s[:h] print(s)
File "/tmp/tmpp0gdsvxm/tmpi967n_wt.py", line 6 m = int(input()) ^ IndentationError: unindent does not match any outer indentation level
s008605742
p02420
u085472528
1470290625
Python
Python3
py
Runtime Error
0
0
170
while True: s = input() if s == '-': break n = int(input()) for mi in range(m): h = int(input()) s = s[h:] + s[:h] print(s)
Traceback (most recent call last): File "/tmp/tmpi_0_4w53/tmp481z61zl.py", line 2, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line