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
s744697053
p02418
u435300817
1480851295
Python
Python3
py
Runtime Error
20
7468
338
input_str = input() target_str = input() if target_str in input_str: print('Yes') else: ret = '' r_str = input_str[::-1] idx = r_str.index(target_str[0]) ret += r_str[idx::-1] size = len(target_str) - len(ret) ret += input_str[:size] if ret == target_str: print('Yes') else: ...
s316598189
p02418
u435300817
1480851665
Python
Python3
py
Runtime Error
30
7404
394
input_str = input() target_str = input() if target_str in input_str: print('Yes') else: ret = '' r_str = input_str[::-1] try: idx = r_str.index(target_str[0]) except ValueError: print('No') ret += r_str[idx::-1] size = len(target_str) - len(ret) ret += input_str[:size] ...
s625730150
p02418
u547492399
1483766619
Python
Python3
py
Runtime Error
0
0
80
s1 = input() s2 = input() if s2 in s1+s1: print("Yes") else print("No")
s337779917
p02418
u130834228
1489118998
Python
Python3
py
Runtime Error
0
0
252
import sys #t=1 for i in range(len(s)): if p[0] == s[i]: for j in range(len(p)-1): if p[j+1] == s[(i+j+1)%len(s)]: t += 1 #print(t,j,i+j) else: t = 0 if t == len(p): #print('Yes') sys.exit() if t < len(p): print('No')
s509839298
p02418
u130834228
1489119324
Python
Python3
py
Runtime Error
0
0
273
import sys for i in range(len(s)): if p[0] == s[i]: t = 1 for j in range(len(p)-1): if p[j+1] == s[(i+j+1)%len(s)]: #print(t, end = '') t = t+1 #print(t) else: t = 0 if t == len(p): print('Yes') sys.exit() if t < len(p): print('No')
s398251243
p02418
u130834228
1489120005
Python
Python3
py
Runtime Error
20
7356
256
s = list(input()) p = list(input()) #print(len(p)) import sys t=0 for i in range(len(s)): for j in range(len(p)): if p[j] == s[(i+j)%len(s)]: t = t+1 else: t = 0 if t == len(p): print('Yes') sys.exit() if t < len(p): print('No') fori
s326165993
p02418
u130834228
1489120265
Python
Python3
py
Runtime Error
0
0
234
import sys for i in range(len(s)): for j in range(len(p)): t=0 if p[j] == s[(i+j)%len(s)]: t = t+1 #print(p[j], s[(i+j)%len(s)]) else: t = 0 if t == len(p): print('Yes') sys.exit() if t < len(p): print('No')
s683182805
p02418
u868716420
1489620526
Python
Python3
py
Runtime Error
20
7428
194
sam = input() ans = input() for i in range(1,len(ans)) : if (ans[:i] in sam) == False : break if ((ans[i - 1 :]) in sam) == True : print('Yes') else : print('No')
s544412140
p02418
u868716420
1489626191
Python
Python3
py
Runtime Error
0
0
464
sam = input() ans = input() for i in range(len(ans)) : if (ans[:i] in sam) == False : break print(ans[ :i-1]) print(ans[i-1:]) print(sam[:len(ans[i-1:])]) if ((ans[i - 1 :]) in sam[:len(ans[i-1:])])== True and len(ans) != 1 : print('Yes') elif (ans in sam) == True : print('Y...
s534194198
p02418
u650790815
1496463870
Python
Python3
py
Runtime Error
0
0
78
s = input() p = input() if s in (p**2): print('Yes') else: print('No')
s925021307
p02418
u203261375
1497181049
Python
Python3
py
Runtime Error
0
0
334
ring_str = input() str = input() for i in range(len(s)): if i == 0 and ring_str.find(s) != -1: print('Yes') break if i != 0 and ring_str.find(s[:i]) == len(ring_str) - len(s[:i]): if s[i:] == ring_str[:len(s[i:])]: print('Yes') break if i == len(s) - 1: ...
s218558822
p02418
u933096856
1505443860
Python
Python3
py
Runtime Error
0
0
89
p,s=[input() for i in range(2)] p=p*100 if a in p: print('Yes') else: print('NO')
s678428443
p02418
u298999032
1513042920
Python
Python3
py
Runtime Error
0
0
67
i=input p=print s=i() p=i() p('Yes') if (s+s).count(p) else p('No')
s348010516
p02418
u298999032
1513043353
Python
Python3
py
Runtime Error
0
0
67
i=input p=print s=i() p=i() (s+s).count(p) if p('Yes') else p('No')
s535768899
p02418
u566311709
1522133389
Python
Python3
py
Runtime Error
0
0
61
s = input() * 2 p = input() print("Yes" if p in e else "No")
s670043357
p02418
u566311709
1522133407
Python
Python3
py
Runtime Error
0
0
61
s = input() * 2 p = input() print("Yes" if p in e else "No")
s654121298
p02418
u434815736
1529972953
Python
Python3
py
Runtime Error
0
0
550
from bisect import bisect_left, bisect_right, insort_left dict = {} keytbl = [] q = int(input()) for i in range(q): a = list(input().split()) ki = a[1] if a[0] == '0': if ki not in dict: dict[ki] = [] insort_left(keytbl, ki) dict[ki].append(int(a[2])) elif a[0] == '1': if ki in dict and dict[ki] != []:...
s417665956
p02419
u917722865
1530956382
Python
Python3
py
Runtime Error
0
0
303
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { int count = 0; string W; string t; cin >> W; while (cin >> t, t != "END_OF_TEXT") { transform(t.begin(), t.end(), t.begin(), ::tolower); if (t == W) { count++; } } cout << count << endl; }
s041164424
p02419
u400765446
1531147032
Python
Python3
py
Runtime Error
0
0
492
def main(): Counter = 0 Text_W = input() while True: Text_T = input().lower() if "END_OF_TEXT" in Text_T: temp = Text_T.split() for i in range(len(temp)): Counter += 1 if Text_W == temp[i] else 0 break else: temp = Text...
s418214013
p02419
u539753516
1531426311
Python
Python3
py
Runtime Error
0
0
138
w=input() c=0 while True: t=input().lower() if t=='END_OF_TEXT': print(c) break c+=t.lower().split().count(w)
s692163491
p02419
u299231628
1531900572
Python
Python3
py
Runtime Error
0
0
138
import re w = input() t = '' while True: s = input() if s == 'END_OF_TEXT': break t += s print(len(re.findall(w, t))
s641189258
p02419
u299231628
1531900624
Python
Python3
py
Runtime Error
0
0
154
import re w = input().lower() t = '' while True: s = input().lower() if s == 'END_OF_TEXT': break t += s print(len(re.findall(w, t))
s268647839
p02419
u299231628
1531902588
Python
Python3
py
Runtime Error
0
0
198
w = input() cnt = collections.Counter() while True: s = [1 if i.lower() == w else 'fin' if i == 'END_OF_TEXT' else 0 for i in input().split()] if 'fin' in s: break print(s.count(1))
s330562879
p02419
u324811972
1531903898
Python
Python3
py
Runtime Error
0
0
241
target = input() text = input() text = input() text = input() text = input() text = input() text2 = text.replace('\n',' ') sentenceList = text2.split() count = 0 for word in sentenceList: if(word.lower() == target): count+=1 print(count)
s889058476
p02419
u324811972
1531903908
Python
Python3
py
Runtime Error
0
0
242
target = input() text = input() text = input() text = input() text = input() #text = input() text2 = text.replace('\n',' ') sentenceList = text2.split() count = 0 for word in sentenceList: if(word.lower() == target): count+=1 print(count)
s514815878
p02419
u749884951
1534846749
Python
Python3
py
Runtime Error
0
0
73
import sys s = sys.stdin.read().split() print(s[1:].split().count(s[0]))
s052342651
p02419
u404682284
1535452355
Python
Python3
py
Runtime Error
0
0
325
package main import ( "fmt" "os" "bufio" "strings" ) func main(){ var n int = 0 var w string sc := bufio.NewScanner(os.Stdin) sc.Split(bufio.ScanWords) fmt.Scan(&w) for { sc.Scan() t := sc.Text() if t == "END_OF_TEXT" { break } t = strings.ToLower(t) if t == w { n++ } } fmt.Println(...
s265455381
p02419
u404682284
1535452355
Python
Python3
py
Runtime Error
0
0
325
package main import ( "fmt" "os" "bufio" "strings" ) func main(){ var n int = 0 var w string sc := bufio.NewScanner(os.Stdin) sc.Split(bufio.ScanWords) fmt.Scan(&w) for { sc.Scan() t := sc.Text() if t == "END_OF_TEXT" { break } t = strings.ToLower(t) if t == w { n++ } } fmt.Println(...
s451103653
p02419
u484322211
1551253365
Python
Python3
py
Runtime Error
0
0
154
W = input().rstrip() text = "" while True: line = input().rstrip() if line == "END_OF_TEXTS": break text += line print(text.count(W))
s621548589
p02419
u484322211
1551253442
Python
Python3
py
Runtime Error
0
0
142
W = input().rstrip() text = "" while True: line = input().rstrip() text += line if line == "END_OF_TEXTS": break print(text.count(W))
s294359234
p02419
u697703458
1556005934
Python
Python3
py
Runtime Error
0
0
182
w=input() ll=list() while True: T=input() T=T.lower() if T=="END_OF_TEXT": break t=T.split() for i in t: ll.append(i) ans=ll.count(w) print(ans)
s817906712
p02419
u967268722
1556122234
Python
Python3
py
Runtime Error
0
0
239
key_word = input().lower() counter = 0 while True: sentences = input().lower().split() if sentences == ['END_OF_TEXT']: break for sent in sentences: if sent == key_word: counter += 1 print(counter)
s825495348
p02419
u805716376
1556723175
Python
Python3
py
Runtime Error
0
0
131
a = input() cnt = 0 while 1: c = input().lower() if c = end_of_text: break cnt = c.split().count(a) print(cnt)
s296214419
p02419
u805716376
1556723194
Python
Python3
py
Runtime Error
0
0
132
a = input() cnt = 0 while 1: c = input().lower() if c == end_of_text: break cnt = c.split().count(a) print(cnt)
s238848630
p02419
u805716376
1556723425
Python
Python3
py
Runtime Error
0
0
134
a = input() cnt = 0 while 1: c = input().lower() if c = 'end_of_text': break cnt += c.split().count(a) print(cnt)
s105327774
p02419
u025362139
1556763432
Python
Python3
py
Runtime Error
0
0
291
#coding: UTF-8 word = input() cnt = 0 while True: sentence = list(map(str, input().split())) for i in range(len(sentence)): if sentence[i] == 'END_OF_TEXT': break elif word == sentence[i]: cnt += 1 else: pass print(ctn)
s779784855
p02419
u480501638
1558934784
Python
Python3
py
Runtime Error
0
0
145
ans=[] W=raw_input() while True: i = raw_input() if i == 'END_OF_TEXT': break ans+=[j.lower() for j in i.split()] print ans.count(W)
s611949130
p02419
u480501638
1558934804
Python
Python3
py
Runtime Error
0
0
145
ans=[] W=raw_input() while True: i = raw_input() if i == 'END_OF_TEXT': break ans+=[j.lower() for j in i.split()] print ans.count(W)
s431834567
p02419
u629874472
1559139488
Python
Python3
py
Runtime Error
0
0
128
w = input() li = list(input().split().swapcase()) cnt = 0 for i in range(len(li)): if w ==li[i]: cnt +=1 print(cnt)
s655473824
p02419
u629874472
1559139533
Python
Python3
py
Runtime Error
0
0
125
w = input() li = list(input().split().lower()) cnt = 0 for i in range(len(li)): if w ==li[i]: cnt +=1 print(cnt)
s448062107
p02419
u966110132
1559281214
Python
Python3
py
Runtime Error
0
0
220
W = input() import sys T = [] for l in sys.stdin: T.append(int(l)) num = 0 for i in range(len(T)): while i.find(W) != -1: if i.find(W) != -1: num += 1 i.pop(i.find(W)) print(num)
s802821361
p02419
u966110132
1559284148
Python
Python3
py
Runtime Error
0
0
225
W = input() import sys T = [] for i in range(4): T.append(input()) # for l in sys.stdin: # T.append(int(l)) num = 0 for i in T: while i.find(W) != -1: num += 1 i = i.replace(W, ' ', 1) print(num)
s797356152
p02419
u966110132
1559284175
Python
Python3
py
Runtime Error
0
0
225
W = input() import sys T = [] # for i in range(4): # T.append(input()) for l in sys.stdin: T.append(int(l)) num = 0 for i in T: while i.find(W) != -1: num += 1 i = i.replace(W, ' ', 1) print(num)
s566420004
p02419
u966110132
1559284803
Python
Python3
py
Runtime Error
0
0
191
computer Nurtures computer scientists and highly-skilled computer engineers who will create and exploit "knowledge" for the new era. Provides an outstanding computer environment. END_OF_TEXT
s212976024
p02419
u966110132
1559285547
Python
Python3
py
Runtime Error
0
0
269
import sys W = input() # T = sys.stdin.read() T = [] for i in range(4): a = input() a = a.replace(" ", "") T.append(a) print(T) num = 0 for i in T: while i.lower().find(W) != -1: num += 1 i = i.lower().replace(W, ' ', 1) print(num)
s508951830
p02419
u966110132
1559285786
Python
Python3
py
Runtime Error
0
0
324
import sys W = input() T = sys.stdin.read() for i in range(len(T)): T[i] = T[i].replace(" ", "") # T = [] # for i in range(4): # a = input() # a = a.replace(" ", "") # T.append(a) num = 0 for i in T: while i.lower().find(W) != -1: num += 1 i = i.lower().replace(W, ' ', 1) print(n...
s272784354
p02419
u535719732
1559295090
Python
Python3
py
Runtime Error
0
0
169
target = input() data = "" while True: string = input() if(string == "END_OF_FILE"): break data += string print("%d" %(data.lower().count(target.lower())))
s157444984
p02419
u535719732
1559295312
Python
Python3
py
Runtime Error
0
0
160
target = input() data = "" while True: tmp = input() if(tmp == "END_OF_FILE"): break data += tmp print("%d" %(data.lower().count(target.lower())))
s525008462
p02419
u907094926
1405821536
Python
Python
py
Runtime Error
20
4220
406
key = raw_input().upper() c = '' while True: s = raw_input() if s == 'END_OF_TEXT': break c = c + ' ' + s.upper() total = 0 ks = key[0] for i in range(len(c)): if c[i] == ks: cnt = 0 for k in range(len(key)): if c[i+k] == key[k]: cnt = cnt + 1 ...
s465906625
p02419
u140201022
1411063730
Python
Python
py
Runtime Error
0
0
532
#include<iostream> #include<cmath> #include<string> #include<cctype> #include<vector> #include<algorithm> using namespace std; int main(){ int ans=0; string w; cin>>w; transform(w.begin(), w.end(), w.begin(), ::toupper); for(;;){ string chk; cin>>c...
s692335009
p02419
u567380442
1421149779
Python
Python3
py
Runtime Error
0
0
170
import sys keyword = input().lowercase() count = 0 for line in sys.stdin: count += sum([1 for word in line.lowercase().split() if word == keyword]) print(count)
s367238357
p02419
u823030818
1423185109
Python
Python3
py
Runtime Error
0
0
215
target = input() count = 0 while True: line = input().lower if line == 'END_OF_TEXT': break for word in line.split(): if word.lower == target.lower: count += 1 print(count)
s137941617
p02419
u879226672
1425361136
Python
Python
py
Runtime Error
0
0
271
T = [] while True: try: W = raw_input() T.append(raw_input().split()) if W == 'END_OF_TEXT': break except EOFError: break count = 0 for word in T: if word.lower() == W.lower(): count +=1 print count
s739808489
p02419
u879226672
1427821296
Python
Python
py
Runtime Error
0
0
180
W = raw_input() T = [] while True: t = raw_input().split() if t == 'END_OF_TEXT': break T.append(t) tot = 0 for w in T: if W in w: tot+=1 print tot
s491693788
p02419
u879226672
1427821644
Python
Python
py
Runtime Error
0
0
196
W = raw_input() T = [] while True: t = raw_input().split() if t == 'END_OF_TEXT': break T.append(t) tot = 0 for w in T: if W.lower() in w.lower(): tot+=1 print tot
s585515835
p02419
u949338836
1428651847
Python
Python3
py
Runtime Error
0
0
177
#coding:utf-8 #1_9_A 2015.4.10 w = input().lower() c = 0 while True: t = input() if 'END_OF_TEXT' in t: break c += t.lower().split()lower().count(w) print(c)
s656168484
p02419
u017764209
1430130800
Python
Python
py
Runtime Error
0
0
232
c = 0 result = 0 while: st = raw_input() if c = 0: s_str = st elif 'END_OF_TEXT' in st: break else: if s_str in str: result = result + 1 else: pass print result
s322605731
p02419
u017764209
1430130817
Python
Python
py
Runtime Error
0
0
232
c = 0 result = 0 while: st = raw_input() if c = 0: s_str = st elif 'END_OF_TEXT' in st: break else: if s_str in str: result = result + 1 else: pass print result
s568308417
p02419
u017764209
1430131586
Python
Python
py
Runtime Error
0
0
267
c = 0 result = 0 while True: st = raw_input() if c == 0: s_str = st elif 'END_OF_TEXT' in st: break else: c = c+1 if s_str in st: result = result + st.count(s_str) else: pass print result
s312610958
p02419
u017764209
1430131828
Python
Python
py
Runtime Error
0
0
278
c = 0 result = 0 while True: st = raw_input() if c == 0: s_str = st elif 'END_OF_TEXT' in st: break else: c = c+1 if s_str in st: result = result + st.split(' ').count(s_str) else: pass print result
s163748912
p02419
u604774382
1431756674
Python
Python3
py
Runtime Error
0
0
274
import sys w = sys.stdin.readline().rstrip().lower() cnt = 0 while True: lines = sys.stdin.readline().rstrip() if not lines: break words = lines.split( " " ) for i in range( len( words ) ): if w == words[i].lower(): cnt += 1 print( cnt )
s603502198
p02419
u604774382
1431757785
Python
Python3
py
Runtime Error
0
0
273
import sys w = sys.stdin.readline().rstrip().lower() cnt = 0 while True: lines = sys.stdin.readline().rstrip() if not lines: break words = lines.split( " " ) for i in range( len( words ) ): if w == words[i].lower(): cnt = cnt + 1 print( cnt )
s891111827
p02419
u604774382
1431757904
Python
Python3
py
Runtime Error
0
0
272
import sys w = sys.stdin.readline().rstrip().lower() cnt = 0 while True: lines = sys.stdin.readline().rstrip() if not lines: break words = lines.split( " " ) for i in range( len( words ) ): if w == words[i].lower(): cnt = cnt + 1 print( cnt )
s547585869
p02419
u777299405
1434884445
Python
Python3
py
Runtime Error
0
0
98
import sys w = sys.stdin.readline().strip().lower() t = sys.stdin.read().lower.split() print(w, t)
s887758274
p02419
u224288634
1444353161
Python
Python
py
Runtime Error
0
0
165
while True : count = 0 w = raw_input() if w=='END_OF_TEXT': break else : a_list = w.split() for i in a_list: if w in i : count += 1 print(count)
s522084346
p02419
u971748390
1454165697
Python
Python3
py
Runtime Error
0
0
146
word=input() while(1): sentence=input() if sentence == "END_OF_TEXT" break snt=sentence.lower() cnt=sentence.count(word) print(cnt)
s708173722
p02419
u894114233
1456204450
Python
Python
py
Runtime Error
0
0
228
word=raw_input() sen=[] ct=0 while 1: sen=map(str,raw_input().split(" ")) if sen[-1:0]=="END_OF_TEXT": break else:continue for i in sen: i.lower() if i==word: ct+=1 else:continue print(ct)
s704495071
p02419
u075836834
1457863954
Python
Python3
py
Runtime Error
0
0
198
w = input().casefold() word_count = 0 while True: line = input() if line == "END_OF_TEXT": break word = line.split().casefold() word_count += word.count(w) print(word_count)
s005789133
p02419
u075836834
1457863989
Python
Python3
py
Runtime Error
0
0
198
w = input().casefold() word_count = 0 while True: line = input().casefold() if line == "END_OF_TEXT": break word = line.split() word_count += word.count(w) print(word_count)
s940172291
p02419
u572790226
1459752546
Python
Python3
py
Runtime Error
0
0
273
word = input() number = 0 while True: row = input() if row == 'END_OF_TEXT': break row.replace('.', ' ') row.replace("'", " ") row.replace('-', ' ') wordlist = list(row.lower().split()) number += wordlist.count(word.lower()) print(number
s498477192
p02419
u771917453
1461249422
Python
Python
py
Runtime Error
0
0
138
a = raw_input().lower() s = 0 while True: b = raw_input().lower() if b == 'END_OF_TEXT': break s += b.count(a) print s
s843937875
p02419
u100813820
1463648233
Python
Python3
py
Runtime Error
0
0
1284
# 19-String-Finding_a_Word.py # ?????????????´¢ # ??????????????? W ??¨?????? T ????????????????????????T ??????????????? W ?????°???????????????????????°????????????????????????????????? # ?????? T ????????????????????????????????????????????§????????????????????????????????? Ti ??¨???????????? # ???????????? Ti ????...
s575215833
p02419
u617990214
1466247057
Python
Python
py
Runtime Error
0
0
202
target=raw_input() ct=0 flag=0 while True: line=raw_input().split(" ") for i in line: if i.lower()==target.lower: ct+=1 elif i.lower()=="END_OF_TEXT": print ct flag=1 if flag==1: break
s611606365
p02419
u204883389
1470289402
Python
Python3
py
Runtime Error
0
0
171
W = input() while True: line = input() if line == 'END_OF_TEXT': break for s in line.split(): if s == W: count += 1 print(count)
s437182928
p02419
u435917115
1470289430
Python
Python3
py
Runtime Error
0
0
196
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.split(): if s == W: count += 1 print(count)
s914634436
p02419
u204883389
1470289436
Python
Python3
py
Runtime Error
0
0
179
W = input() while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s304073696
p02419
u514745787
1470289440
Python
Python3
py
Runtime Error
0
0
196
W =input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s = W: count += 1 print(count)
s766991805
p02419
u498041957
1470289442
Python
Python3
py
Runtime Error
0
0
163
w = input() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.lower()split(): count += 1 print(count)
s269929676
p02419
u514745787
1470289482
Python
Python3
py
Runtime Error
0
0
197
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s = W: count += 1 print(count)
s112244911
p02419
u085472528
1470289501
Python
Python3
py
Runtime Error
0
0
192
W = input() while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s426829906
p02419
u498041957
1470289505
Python
Python3
py
Runtime Error
0
0
195
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.lower()split(): if s == W: count += 1 print(count)
s190567686
p02419
u644636020
1470289512
Python
Python3
py
Runtime Error
0
0
217
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower.split(): if s == W: count += 1 print(count)
s174425216
p02419
u435917115
1470289519
Python
Python3
py
Runtime Error
0
0
188
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.lower().split(): if s == W: count += 1 print(count)
s943029188
p02419
u514745787
1470289524
Python
Python3
py
Runtime Error
0
0
197
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s = W: count += 1 print(count)
s252434627
p02419
u498041957
1470289550
Python
Python3
py
Runtime Error
0
0
201
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower()split(): if s == W: count += 1 print(count)
s636808553
p02419
u435917115
1470289565
Python
Python3
py
Runtime Error
0
0
188
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.lower().split(): if s == W: count += 1 print(count)
s768437998
p02419
u435917115
1470289628
Python
Python3
py
Runtime Error
0
0
196
W = input().lower() count = 0 while True: line = input() if line == 'END_OF_TEXT' break for s in line.lower().split(): if s == W: count += 1 print(count)
s914951736
p02419
u600195957
1470289689
Python
Python3
py
Runtime Error
0
0
185
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower.split(): if s == W: count += 1 print(count)
s683188596
p02419
u661284763
1470289701
Python
Python3
py
Runtime Error
0
0
180
w = input() while True line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s445560434
p02419
u600195957
1470289715
Python
Python3
py
Runtime Error
0
0
185
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower.split(): if s == W: count += 1 print(count)
s925845197
p02419
u600195957
1470289754
Python
Python3
py
Runtime Error
0
0
185
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower.split(): if s == W: count += 1 print(count)
s198387880
p02419
u661284763
1470289796
Python
Python3
py
Runtime Error
0
0
188
w = input().lower() while True line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s363151004
p02419
u661284763
1470289809
Python
Python3
py
Runtime Error
0
0
188
w = input().lower() while True line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s792068738
p02419
u661284763
1470289864
Python
Python3
py
Runtime Error
0
0
188
W = input().lower() while True line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s986797116
p02419
u661284763
1470289881
Python
Python3
py
Runtime Error
0
0
199
w= input().lower() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count)
s234007873
p02419
u661284763
1470289926
Python
Python3
py
Runtime Error
0
0
223
W = input() count = 0 while True: line = input() if line == 'END_OF_TEXT': break for s in line.lower().split(): if s == W: count += 1 print(count
s326820635
p02419
u998435601
1473084014
Python
Python
py
Runtime Error
0
0
149
# -*- coding: utf-8 -*- w = raw_input() c = 0 while 1: t = raw_input().lower() if t=="END_OF_TEXT": break tt = t.split() c += tt.count(w) print c
s507922407
p02419
u998435601
1473084066
Python
Python3
py
Runtime Error
0
0
157
# -*- coding: utf-8 -*- w = raw_input().upper() c = 0 while 1: t = raw_input().upper() if t=="END_OF_TEXT": break tt = t.split() c += tt.count(w) print c
s469835934
p02419
u084303209
1476175357
Python
Python
py
Runtime Error
0
0
188
s = raw_input() s = s[:-1] cnt = 0 while True: text = raw_input() if 'END_OF_TEXT' == text[0:-1]: break while text.find(s)>=0: text = text[text.find(s)+len(s):] cnt += 1 print cnt
s320090627
p02419
u831244171
1477661243
Python
Python
py
Runtime Error
0
0
155
W = raw_input().lower() T= "" while True: t = raw_input().lower() if t == "END_OF_TEXT": break; else: T += t print(t.count(W))