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
s489160460
p02417
u780025254
1519223842
Python
Python3
py
Runtime Error
0
0
261
import sys alist = list('abcdefghijklmnopqrstuvwxyz') r = {} for al in alist: r[al] = 0 line = sys.stdin.read().lower for i in range(len(line)): if line[i] in r.keys(): r[line[i]] += 1 for k,v in r.items(): print("{} : {}".format(k, v))
Traceback (most recent call last): File "/tmp/tmppqgojhfd/tmpv23c9a87.py", line 10, in <module> for i in range(len(line)): ^^^^^^^^^ TypeError: object of type 'builtin_function_or_method' has no len()
s826928172
p02417
u508054630
1520537478
Python
Python3
py
Runtime Error
0
0
433
s = '' while True: s0 = input() if s0 == '': break else: s += s0 small = 'abcdefghijklmnopqrstuvwxyz' large = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ans = '' count = [0] * 26 for i in s: q = 0 while q < 26: if i == small[q] or i == large[q]: count[q] += 1 break ...
Traceback (most recent call last): File "/tmp/tmpg5d88k4h/tmpp0mvalsa.py", line 3, in <module> s0 = input() ^^^^^^^ EOFError: EOF when reading a line
s776786756
p02417
u886729200
1522890353
Python
Python3
py
Runtime Error
0
0
262
import string as st from msvcrt import getch string=[] while True: s = input() if s == '': break string.append(s) for i in range(len(st.ascii_lowercase)): print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))
Traceback (most recent call last): File "/tmp/tmpqzfh8u87/tmpxq6ks1pm.py", line 2, in <module> from msvcrt import getch ModuleNotFoundError: No module named 'msvcrt'
s290989521
p02417
u886729200
1522890697
Python
Python3
py
Runtime Error
0
0
293
import string as st string=[] while True: s = input() if s == '': break string.append(s) string=','.join(string) string = string.lower() for i in range(len(st.ascii_lowercase)): print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))
Traceback (most recent call last): File "/tmp/tmpcypla7ka/tmpqwlffsz3.py", line 4, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s984281079
p02417
u886729200
1522891329
Python
Python3
py
Runtime Error
0
0
318
import string as st string=[] while True: s = input() string =list(string) if s == '': break string.append(s) string=','.join(string) string = string.lower() for i in range(len(st.ascii_lowercase)): print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))
Traceback (most recent call last): File "/tmp/tmp1hn_hfdg/tmpf84kjxzn.py", line 4, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s540687388
p02417
u886729200
1522894320
Python
Python3
py
Runtime Error
0
0
514
import string as st string=[] low_s=[] while True: s = input()#入力 print("s =",s) string =list(string)#list変換 if s == '':#空入力のときループぬける break string.extend(s)#list追加 #print(string) string=map(str,string) string="".join(string) print(string) #print(type(string)) low_s= s...
Traceback (most recent call last): File "/tmp/tmpl2ogdhkh/tmpkl17f5t7.py", line 5, in <module> s = input()#入力 ^^^^^^^ EOFError: EOF when reading a line
s810580145
p02417
u886729200
1522895508
Python
Python3
py
Runtime Error
0
0
432
import string as st string=[] low_s=[] while True: s = input()#入力 string =list(string)#list変換 if not s :#空入力のときループぬける break string.extend(s)#list追加 string=map(str,string) string="".join(string) low_s= string.lower() print(low_s) for i in range(len(st.ascii_lowercase)): print(...
Traceback (most recent call last): File "/tmp/tmpw1b9byi0/tmps4q0rllv.py", line 5, in <module> s = input()#入力 ^^^^^^^ EOFError: EOF when reading a line
s265346259
p02417
u095590628
1523732649
Python
Python3
py
Runtime Error
0
0
279
from collections import OrderedDict as od dic = od() for s in "abcdefghijklmnopqrstuvwxyz": dic[s] = 0 x = "" while True: try: x += line except EOFError: break for key,value in dic.items(): value = x.count(key) print(key, ":", value)
Traceback (most recent call last): File "/tmp/tmp2kl1bmfg/tmpbb2qo1f7.py", line 11, in <module> x += line ^^^^ NameError: name 'line' is not defined. Did you mean: 'slice'?
s424725853
p02417
u682153677
1523791710
Python
Python3
py
Runtime Error
0
0
451
# -*- coding: utf-8 -*- while True: word = list(map(str, input())) if not word: break while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): char[chr(i)] = 0 for j in range(len(word)): ...
Traceback (most recent call last): File "/tmp/tmpdqrwaopj/tmpiobzs5y0.py", line 4, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s770091108
p02417
u682153677
1523792321
Python
Python3
py
Runtime Error
0
0
491
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if not ad_word: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): cha...
Traceback (most recent call last): File "/tmp/tmprfsfue8d/tmp6xc3sf9l.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s603454617
p02417
u682153677
1523792356
Python
Python3
py
Runtime Error
0
0
491
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if not ad_word: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): cha...
Traceback (most recent call last): File "/tmp/tmpa_r3j3b5/tmpgtqb3c1_.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s076257694
p02417
u682153677
1523848043
Python
Python3
py
Runtime Error
0
0
491
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if not ad_word: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): cha...
Traceback (most recent call last): File "/tmp/tmpbl_py3n9/tmpofmispx7.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s752920576
p02417
u682153677
1524031550
Python
Python3
py
Runtime Error
0
0
492
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if ad_word == 0: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): ch...
Traceback (most recent call last): File "/tmp/tmp4j7ta0c8/tmpu7x2sekc.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s375077256
p02417
u682153677
1524031686
Python
Python3
py
Runtime Error
0
0
491
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if not ad_word: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): cha...
Traceback (most recent call last): File "/tmp/tmpn14kgaw4/tmp1xloumhp.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s800405817
p02417
u682153677
1524031738
Python
Python3
py
Runtime Error
0
0
491
# -*- coding: utf-8 -*- word = list(map(str, input())) while True: ad_word = list(map(str, input())) if not ad_word: break else: word.append(ad_word) while ' ' in word: word.remove(' ') while '.' in word: word.remove('.') char = {} for i in range(ord('a'), ord('z') + 1): cha...
Traceback (most recent call last): File "/tmp/tmp992qb4r2/tmpjfj6rabc.py", line 3, in <module> word = list(map(str, input())) ^^^^^^^ EOFError: EOF when reading a line
s627929756
p02417
u126478680
1524677348
Python
Python3
py
Runtime Error
0
0
359
#! python3 # counting_characters.py import sys sents = [] for line in sys.stdin: sents.append(input()) dic = {chr(x):0 for x in range(ord('a'), ord('z')+1)} for sent in sents: for c in sent: x = c.lower() if ord('a') <= ord(x) and ord(x) <= ord('z'): dic[x] += 1 for k, v in dic....
a : 0 b : 0 c : 0 d : 0 e : 0 f : 0 g : 0 h : 0 i : 0 j : 0 k : 0 l : 0 m : 0 n : 0 o : 0 p : 0 q : 0 r : 0 s : 0 t : 0 u : 0 v : 0 w : 0 x : 0 y : 0 z : 0
s178096934
p02417
u806005289
1525420953
Python
Python3
py
Runtime Error
20
5588
2220
sa=0 sb=0 sc=0 sd=0 se=0 sf=0 sg=0 sh=0 si=0 sj=0 sk=0 sl=0 sm=0 sn=0 so=0 sp=0 sq=0 sr=0 ss=0 st=0 su=0 sv=0 sw=0 sx=0 sy=0 sz=0 while True: li=list(input()) for lis in li: if lis=="a" or lis=="A": sa+=1 elif lis=="b" or lis=="B": sb+=1 elif lis=="c" or lis=="C"...
Traceback (most recent call last): File "/tmp/tmpjmo1ywo1/tmpg_lxfv_1.py", line 29, in <module> li=list(input()) ^^^^^^^ EOFError: EOF when reading a line
s339986622
p02417
u592529978
1525838880
Python
Python
py
Runtime Error
0
0
618
Sp = [1,2,3,4,5,6,7,8,9,10,11,12,13] Hu = [1,2,3,4,5,6,7,8,9,10,11,12,13] Cr = [1,2,3,4,5,6,7,8,9,10,11,12,13] Dy = [1,2,3,4,5,6,7,8,9,10,11,12,13] num = int(input()) i = 0 while i < num: suit, n = raw_input().split() n = int(n) if suit == "S": Sp[n-1] = 0 elif suit == "H": Hu[n-...
File "/tmp/tmppp3ygzuz/tmpq81suxti.py", line 24 print "S", i ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s655631894
p02417
u908651435
1525853906
Python
Python3
py
Runtime Error
0
0
229
import sys str=[] for line in sys.stdin: str.append(line) s=''.join(str).lower s=list(s) for i in range(97, 97 + 26): count = 0 for j in s: if chr(i) == j: count += 1 print(chr(i), ':', count)
Traceback (most recent call last): File "/tmp/tmpem1_ko4z/tmp29wmm1r4.py", line 6, in <module> s=list(s) ^^^^^^^ TypeError: 'builtin_function_or_method' object is not iterable
s739900387
p02417
u908651435
1525854218
Python
Python3
py
Runtime Error
0
0
229
import sys str=[] for line in sys.stdin: str.append(line) s=''.join(str).lower s=list(s) for i in range(97, 97 + 26): count = 0 for j in s: if chr(i) == j: count += 1 print(chr(i), ':', count)
Traceback (most recent call last): File "/tmp/tmpkj4kblwz/tmpessfkf2_.py", line 6, in <module> s=list(s) ^^^^^^^ TypeError: 'builtin_function_or_method' object is not iterable
s598582393
p02417
u485986915
1525860296
Python
Python3
py
Runtime Error
0
0
186
import sys table = "abcdefghijklmnopqrstuvwxyz" sentence = '' for line in sys.stdin: sentence += str(input().lower()) for i in table: print(i + " : " + str(sentence.count(i)))
a : 0 b : 0 c : 0 d : 0 e : 0 f : 0 g : 0 h : 0 i : 0 j : 0 k : 0 l : 0 m : 0 n : 0 o : 0 p : 0 q : 0 r : 0 s : 0 t : 0 u : 0 v : 0 w : 0 x : 0 y : 0 z : 0
s380081495
p02417
u485986915
1525861001
Python
Python3
py
Runtime Error
0
0
170
import sys table = "abcdefghijklmnopqrstuvwxyz" sentence = sys.stdin.read() sentence1 = sentence.lower() for i in table: print(i + ' : ' + str(sentence1.count(i))
File "/tmp/tmpxwqdjez7/tmpt4tptbn3.py", line 8 print(i + ' : ' + str(sentence1.count(i)) ^ SyntaxError: '(' was never closed
s765300560
p02417
u485986915
1525861159
Python
Python3
py
Runtime Error
0
0
174
import sys table = "abcdefghijklmnopqrstuvwxyz" sentence = sys.stdin.read() sentence1 = str(entence.lower()) for i in table: print(i + ' : ' + str(sentence1.count(i))
File "/tmp/tmp7v4n3nib/tmppg58t9tb.py", line 8 print(i + ' : ' + str(sentence1.count(i)) ^ SyntaxError: '(' was never closed
s462433598
p02417
u485986915
1525861203
Python
Python3
py
Runtime Error
0
0
174
import sys table = "abcdefghijklmnopqrstuvwxyz" sentence = sys.stdin.read() sentence1 = str(entence.lower()) for i in table: print(i + ' : ' + str(sentence1.count(i)))
Traceback (most recent call last): File "/tmp/tmpblfh07v8/tmpqmv45fy6.py", line 6, in <module> sentence1 = str(entence.lower()) ^^^^^^^ NameError: name 'entence' is not defined. Did you mean: 'sentence'?
s769436407
p02417
u313089641
1526404196
Python
Python3
py
Runtime Error
0
0
248
import string sen = input().lower() char_dic = {i:0 for i in string.ascii_lowercase} for j in sen: if j in char_dic: char_dic[j] += 1 else: pass for k in string.ascii_letters: print("{} : {}".format(k, char_dic[k]))
Traceback (most recent call last): File "/tmp/tmph19epc2n/tmpzyq67xuv.py", line 2, in <module> sen = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s316739482
p02417
u908651435
1526757860
Python
Python3
py
Runtime Error
0
0
204
str=input().split() s=''.join(str).lower s=list(s) for i in range(97, 97 + 26): count = 0 for j in s: if chr(i) == j: count += 1 print(chr(i), ':', count) print('No')
Traceback (most recent call last): File "/tmp/tmpqrsk5wf3/tmpiejqs0ii.py", line 1, in <module> str=input().split() ^^^^^^^ EOFError: EOF when reading a line
s220543435
p02417
u604437890
1526892256
Python
Python3
py
Runtime Error
0
0
222
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmpj_kh0eh3/tmpf6tc57dr.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s106672646
p02417
u604437890
1526893125
Python
Python3
py
Runtime Error
0
0
242
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() if not S: break for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmpye0_o5n0/tmp3qmi5zxb.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s688351173
p02417
u604437890
1526893582
Python
Python3
py
Runtime Error
0
0
242
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() if not S: break for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmpf88l2w_5/tmpolkntnqc.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s874724139
p02417
u604437890
1526894333
Python
Python3
py
Runtime Error
0
0
256
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() '''if not S: break''' for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmp507ol77d/tmpxfruf8f1.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s702097423
p02417
u604437890
1526894655
Python
Python3
py
Runtime Error
0
0
242
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() if not S: break for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmpwlfbde61/tmpz0rmg7kz.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s339448048
p02417
u604437890
1526894719
Python
Python3
py
Runtime Error
0
0
242
a_dict = {chr(a): 0 for a in range(97, 123)} while True: S = input().lower() if not S: break for c in S: if c in a_dict: a_dict[c] += 1 for k, v in a_dict.items(): print('{0} : {1}'.format(k, v))
Traceback (most recent call last): File "/tmp/tmpm4eavl3q/tmp0lavdkom.py", line 3, in <module> S = input().lower() ^^^^^^^ EOFError: EOF when reading a line
s356376744
p02417
u986478725
1527338963
Python
Python3
py
Runtime Error
0
0
500
# AOJ ITP1_8_C def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) string = input() for c in range(len(string)): if 97 <= ord(c) <= 122: counts[ord(c) - 97] += 1 ...
Traceback (most recent call last): File "/tmp/tmp6lx0kmky/tmp74_p4gqc.py", line 22, in <module> main() File "/tmp/tmp6lx0kmky/tmp74_p4gqc.py", line 12, in main string = input() ^^^^^^^ EOFError: EOF when reading a line
s086253411
p02417
u986478725
1527339249
Python
Python3
py
Runtime Error
0
0
557
# AOJ ITP1_8_C def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) while(string = input()): for c in string: if 97 <= ord(c) <= 122: counts[ord(c) - 97] +...
File "/tmp/tmp8wdmshp6/tmpewx2i9ue.py", line 13 while(string = input()): ^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s161414586
p02417
u986478725
1527339321
Python
Python3
py
Runtime Error
0
0
574
# AOJ ITP1_8_C def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) while(string = input()): for i in len(string): c = string[i] if 97 <= ord(c) <= 122: ...
File "/tmp/tmpmcv0hf_v/tmphpiv_zgb.py", line 13 while(string = input()): ^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s959834428
p02417
u986478725
1527339608
Python
Python3
py
Runtime Error
0
0
646
# AOJ ITP1_8_C import sys def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) text = sys.stdin.readlines() for i in range(len(text)): string = text[i] for k in len(strin...
a : 0 b : 0 c : 0 d : 0 e : 0 f : 0 g : 0 h : 0 i : 0 j : 0 k : 0 l : 0 m : 0 n : 0 o : 0 p : 0 q : 0 r : 0 s : 0 t : 0 u : 0 v : 0 w : 0 x : 0 y : 0 z : 0
s781770741
p02417
u986478725
1527339827
Python
Python3
py
Runtime Error
0
0
634
# AOJ ITP1_8_C import sys def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) while True: string = input() if !string[0]: break for k in range(len(string)): ...
File "/tmp/tmp53s9w9gh/tmp83ze5a84.py", line 16 if !string[0]: break ^ SyntaxError: invalid syntax
s133103935
p02417
u986478725
1527339987
Python
Python3
py
Runtime Error
0
0
680
# AOJ ITP1_8_C import sys def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) while True: string = input() if not len(string): break # 長さが0のstringが来たら終了 for k in ra...
Traceback (most recent call last): File "/tmp/tmpxephfitx/tmpif6esvb1.py", line 29, in <module> main() File "/tmp/tmpxephfitx/tmpif6esvb1.py", line 15, in main string = input() ^^^^^^^ EOFError: EOF when reading a line
s266398852
p02417
u986478725
1527340211
Python
Python3
py
Runtime Error
0
0
669
# AOJ ITP1_8_C def numinput(): a = input().split() for i in range(len(a)): a[i] = int(a[i]) return a def main(): counts = [] for i in range(26): counts.append(0) while True: string = input() if not len(string): break # 長さが0のstringが来たら終了 for k in range(len(str...
Traceback (most recent call last): File "/tmp/tmpwrb0bm2y/tmpsd3fb9nd.py", line 28, in <module> main() File "/tmp/tmpwrb0bm2y/tmpsd3fb9nd.py", line 14, in main string = input() ^^^^^^^ EOFError: EOF when reading a line
s103528813
p02417
u657361950
1527991193
Python
Python3
py
Runtime Error
0
0
274
counts = [0] * 26 while True: s = str(input()) if s == '': break for c in s: o = ord(c) if o >= 65 and o <= 90: counts[o - 65] += 1 elif o >= 97 and o <= 122: counts[o - 97] += 1 for i in range(len(counts)): print(chr(i + 97) + ' : ' + str(counts[i]))
Traceback (most recent call last): File "/tmp/tmp31glm0np/tmp7ajb781n.py", line 4, in <module> s = str(input()) ^^^^^^^ EOFError: EOF when reading a line
s893115486
p02417
u117053676
1528262700
Python
Python3
py
Runtime Error
0
0
246
import sys inp = sys.stdin() counter = {} for text in inp: for a in text: a = a.lower() counter[a] = counter.get(a,0) + 1 for x in range(26): a = chr(ord('a')+x) print("{0} : {1}".format(a,counter.get(a,0)),sep='')
Traceback (most recent call last): File "/tmp/tmpma1i75yc/tmpb16wz5h9.py", line 3, in <module> inp = sys.stdin() ^^^^^^^^^^^ TypeError: '_io.TextIOWrapper' object is not callable
s790986730
p02417
u117053676
1528262760
Python
Python3
py
Runtime Error
0
0
246
import sys inp = sys.stdin() counter = {} for text in inp: for a in text: a = a.lower() counter[a] = counter.get(a,0) + 1 for x in range(26): a = chr(ord('a')+x) print("{0} : {1}".format(a,counter.get(a,0)),sep='')
Traceback (most recent call last): File "/tmp/tmp9lvexcpe/tmpsauljuho.py", line 3, in <module> inp = sys.stdin() ^^^^^^^^^^^ TypeError: '_io.TextIOWrapper' object is not callable
s061322115
p02417
u929141425
1528550907
Python
Python3
py
Runtime Error
0
0
241
a = [chr(i) for i in range(97,97+26)] c = [ 0 for x in range(26)] while 1: b = list(input().lower()) for z,x in enumerate(a): for y in b: if y == x: c[z] += 1 print(f"{x} : {str(c[z])}")
Traceback (most recent call last): File "/tmp/tmp3dzhr0u2/tmpalhso9ks.py", line 4, in <module> b = list(input().lower()) ^^^^^^^ EOFError: EOF when reading a line
s669904632
p02417
u929141425
1528802799
Python
Python3
py
Runtime Error
0
0
388
n = int(input()) T = H = 0 for x in range(n): t, h = input().split() tl = list(t) hl = list(h) for k,y in enumerate(tl): if ord(tl[k]) > ord(hl[k]): T += 3 break elif ord(tl[k]) == ord(hl[k]): pass else: H += 3 break ...
Traceback (most recent call last): File "/tmp/tmpzsp5urul/tmpp34fi1jl.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s855504311
p02417
u248424983
1529039664
Python
Python3
py
Runtime Error
0
0
92
s = input() p = input() ret = 'No' tts = s + s[:len(p)] if p in tts: ret = 'Yes' print(ret)
Traceback (most recent call last): File "/tmp/tmp5s2t7hs_/tmp2vtgroq5.py", line 1, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s324143930
p02417
u248424983
1529039733
Python
Python3
py
Runtime Error
0
0
70
n = input().lower() li=[chr(i) for i in range(97,97+26)] for a in li:
File "/tmp/tmp1jwgh2b6/tmp47c4p72a.py", line 3 for a in li: IndentationError: expected an indented block after 'for' statement on line 3
s594072373
p02417
u922112509
1529305135
Python
Python3
py
Runtime Error
0
0
457
# Counting Characters import sys charList = list('abcdefghijklmnopqrstuvwxyz') lines = sys.stdin.readlines() totalSentence = [] for s in range(lines): sentence = list(input().rstrip().lower()) # print(sentence) for c in range(sentence): totalSentence.append(c) for char in charList: count = 0 ...
Traceback (most recent call last): File "/tmp/tmp45dqejxz/tmpaa68ofjt.py", line 7, in <module> for s in range(lines): ^^^^^^^^^^^^ TypeError: 'list' object cannot be interpreted as an integer
s672102830
p02417
u932203900
1529398488
Python
Python3
py
Runtime Error
0
0
195
import sys s = "" while 1 : si = input().strip().lower() if si == "" : break else : s += si [print(i+" : "+str(s.count(i))) for i in "abcdefghijklmnopqrstuvwxyz"]
Traceback (most recent call last): File "/tmp/tmp4nx6l0r4/tmpxvh28i7j.py", line 5, in <module> si = input().strip().lower() ^^^^^^^ EOFError: EOF when reading a line
s040989036
p02417
u940667355
1530166273
Python
Python3
py
Runtime Error
0
0
497
if __name__ == "__main__": alphabetical_table = {} for i in range(ord("a"),ord("z")+1): alphabetical_table[chr(i)] = 0 input_word = input() while input_word: input_word = input_word.lower() for ch in input_word: if ch.isalpha() == True: alphabetic...
Traceback (most recent call last): File "/tmp/tmprihn_48g/tmp2megqhg6.py", line 6, in <module> input_word = input() ^^^^^^^ EOFError: EOF when reading a line
s485423696
p02417
u940667355
1530166417
Python
Python3
py
Runtime Error
0
0
484
if __name__ == "__main__": alphabetical_table = {} for i in range(ord("a"),ord("z")+1): alphabetical_table[chr(i)] = 0 input_word = input() while input_word: input_word = input_word.lower() for ch in input_word: if ch.isalpha() == True: alphabetic...
Traceback (most recent call last): File "/tmp/tmp9poh7k99/tmp4e2zkp90.py", line 6, in <module> input_word = input() ^^^^^^^ EOFError: EOF when reading a line
s607083452
p02417
u940667355
1530169254
Python
Python3
py
Runtime Error
0
0
493
if __name__ == "__main__": alphabetical_table = {} for i in range(ord("a"),ord("z")+1): alphabetical_table[chr(i)] = 0 input_word = input() while input_word: input_word = input_word.lower() for ch in input_word: if ch.isalpha() == True: alphabetic...
Traceback (most recent call last): File "/tmp/tmpf76p8qn4/tmp2ukuu1lm.py", line 6, in <module> input_word = input() ^^^^^^^ EOFError: EOF when reading a line
s936959009
p02417
u940667355
1530170869
Python
Python3
py
Runtime Error
0
0
476
if __name__ == "__main__": alphabetical_table = {} for i in range(ord("a"),ord("z")+1): alphabetical_table[chr(i)] = 0 while True: input_word = input() if not input_word: break input_word = input_word.lower() for ch in input_word: if ch.i...
Traceback (most recent call last): File "/tmp/tmphgwq6a72/tmps1r84pit.py", line 7, in <module> input_word = input() ^^^^^^^ EOFError: EOF when reading a line
s490775540
p02417
u940667355
1530171450
Python
Python3
py
Runtime Error
0
0
483
if __name__ == "__main__": while True: input_word = input() if not input_word: break alphabetical_table = {} for i in range(ord("a"),ord("z")+1): alphabetical_table[chr(i)] = 0 input_word = input_word.lower() for ch in input_word: ...
Traceback (most recent call last): File "/tmp/tmpl95agh9k/tmpvi9pd2vp.py", line 3, in <module> input_word = input() ^^^^^^^ EOFError: EOF when reading a line
s073740287
p02417
u912237403
1371247659
Python
Python
py
Runtime Error
0
0
177
s = [] while True: x = raw_input() if x == '': break s.append(x.lower()) s = ''.join(s) for i in range(26): c = chr(i + 97) print '%s : %d' %(c, s.count(c))
File "/tmp/tmpzya6nep1/tmpdm7k7n2p.py", line 10 print '%s : %d' %(c, s.count(c)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s331764829
p02417
u912237403
1371247713
Python
Python
py
Runtime Error
0
0
179
s = [] while True: x = raw_input() if x == None: break s.append(x.lower()) s = ''.join(s) for i in range(26): c = chr(i + 97) print '%s : %d' %(c, s.count(c))
File "/tmp/tmpma34m8fz/tmpqfcf78kj.py", line 10 print '%s : %d' %(c, s.count(c)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s676293842
p02417
u912237403
1371248420
Python
Python
py
Runtime Error
0
0
177
s = [] while True: x = raw_input() if x == '': break s.append(x.lower()) s = ''.join(s) for i in range(26): c = chr(i + 97) print '%s : %d' %(c, s.count(c))
File "/tmp/tmp_ke7kkw0/tmp52b_4w25.py", line 10 print '%s : %d' %(c, s.count(c)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s070858214
p02417
u351182591
1375266751
Python
Python
py
Runtime Error
0
0
168
t=list(raw_input().lower()) c=[0 for i in range(26)] for i in range(len(t)): c[ord(t[i])-ord("a")]+=1 for i in range(26): print chr(ord("a")+i),":",c[i]
File "/tmp/tmp9i0v8x_o/tmp66c8mu3q.py", line 6 print chr(ord("a")+i),":",c[i] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s375723642
p02417
u351182591
1375266915
Python
Python
py
Runtime Error
0
0
169
t=list(raw_input().lower()) c=[0 for i in range(26)] for i in range(len(t)): c[ord(t[i])-ord(u"a")]+=1 for i in range(26): print chr(ord("a")+i),":",c[i]
File "/tmp/tmpjatpcf0v/tmp15rd83yy.py", line 6 print chr(ord("a")+i),":",c[i] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s474600922
p02417
u140201022
1382371225
Python
Python
py
Runtime Error
0
0
211
import sys import io import re import math start = time.clock() i = [0]*255 #n = raw_input() for x in sys.stdin.read().lower: i[ord(x)]+=1 for y in xrange(ord('a'), ord('z')+1): print chr(y)+ ' : ' +i[y]
File "/tmp/tmps42obr0a/tmpk71s_2k_.py", line 11 print chr(y)+ ' : ' +i[y] ^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s299204363
p02417
u140201022
1382371257
Python
Python
py
Runtime Error
0
0
191
import sys import io import re import math i = [0]*255 #n = raw_input() for x in sys.stdin.read().lower: i[ord(x)]+=1 for y in xrange(ord('a'), ord('z')+1): print chr(y)+ ' : ' +i[y]
File "/tmp/tmp6z7wzn3b/tmpjhgdmjb9.py", line 11 print chr(y)+ ' : ' +i[y] ^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s095060555
p02417
u140201022
1382371448
Python
Python
py
Runtime Error
0
0
211
import sys import io import re import math #start = time.clock() i = [0]*127 #n = raw_input() for x in sys.stdin.read().lower: i[ord(x)]+=1 for y in range(ord('a'), ord('z')+1): print chr(y)+ ' : ' +i[y]
File "/tmp/tmp1cllc34f/tmp4y2at3tx.py", line 11 print chr(y)+ ' : ' +i[y] ^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s501996428
p02417
u231998559
1386746169
Python
Python
py
Runtime Error
0
0
471
dic = [['a', 0], ['b', 0], ['c', 0], ['d', 0], ['e', 0], ['f', 0], ['g', 0], ['h', 0], ['i', 0], ['j', 0], ['k', 0], ['l', 0], ['m', 0], ['n', 0], ['o', 0], ['p', 0], ['q', 0], ['r', 0], ['s', 0], ['t', 0], ['u', 0], ['v', 0], ['w', 0], ['x', 0], ['y', 0], ['z', 0]] while True: s = raw_input() if s == '': break ...
File "/tmp/tmpbxpuof8b/tmpxij7aw9f.py", line 12 print dic[i][0], ':', dic[i][1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s724302937
p02417
u633068244
1393331301
Python
Python
py
Runtime Error
0
0
412
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 if !x: ...
File "/tmp/tmplq2uy5de/tmpx9_gg6wl.py", line 11 if !x: ^ SyntaxError: invalid syntax
s644929957
p02417
u633068244
1393331359
Python
Python
py
Runtime Error
0
0
419
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 if x is N...
Traceback (most recent call last): File "/tmp/tmpb8_5n16h/tmpmneqyvtl.py", line 5, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s146373363
p02417
u633068244
1393331430
Python
Python
py
Runtime Error
0
0
419
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 if x is N...
Traceback (most recent call last): File "/tmp/tmp2dzcsb9l/tmpsu045z5h.py", line 5, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s058742167
p02417
u633068244
1393331493
Python
Python
py
Runtime Error
0
0
420
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: if x is None: break x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: ...
Traceback (most recent call last): File "/tmp/tmp9063ttl1/tmp6hy3ffu2.py", line 5, in <module> if x is None: ^ NameError: name 'x' is not defined
s376622702
p02417
u633068244
1393331554
Python
Python
py
Runtime Error
0
0
416
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: if not x: break x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: ...
Traceback (most recent call last): File "/tmp/tmpzss9nf9l/tmpk7rrth4h.py", line 5, in <module> if not x: ^ NameError: name 'x' is not defined
s449739249
p02417
u633068244
1393331573
Python
Python
py
Runtime Error
0
0
389
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 for i in r...
Traceback (most recent call last): File "/tmp/tmpsc3hsivy/tmpofp3jy37.py", line 6, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s672871416
p02417
u633068244
1393331599
Python
Python
py
Runtime Error
0
0
416
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() if not x: break x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: ...
Traceback (most recent call last): File "/tmp/tmpepgs9z25/tmpky84ev5l.py", line 5, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s432317082
p02417
u633068244
1393331615
Python
Python
py
Runtime Error
0
0
416
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() if not x: break x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: ...
Traceback (most recent call last): File "/tmp/tmpfcijjmxx/tmpk1leqiby.py", line 5, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s283916594
p02417
u633068244
1393331680
Python
Python
py
Runtime Error
0
0
413
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() if x: break x.lower()f for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum...
File "/tmp/tmpas7y0oic/tmpz2ingq0d.py", line 8 x.lower()f ^ SyntaxError: invalid syntax
s554598742
p02417
u633068244
1393331694
Python
Python
py
Runtime Error
0
0
388
az = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] while True: x = raw_input() x.lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 for i in ra...
Traceback (most recent call last): File "/tmp/tmpaqbkk1sm/tmphc_bs402.py", line 5, in <module> x = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s548762418
p02417
u633068244
1393331989
Python
Python
py
Runtime Error
0
0
386
import sys az =["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] for x in sys.stdin.read().lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 for i in rang...
File "/tmp/tmpkp4xxdzm/tmp6ytn1615.py", line 5 for x in sys.stdin.read().lower() ^ SyntaxError: expected ':'
s483082223
p02417
u633068244
1393332015
Python
Python
py
Runtime Error
0
0
396
import sys import io az =["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] for x in sys.stdin.read().lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] += 1 for...
File "/tmp/tmpkhfuzbd0/tmpkrx3ngfv.py", line 6 for x in sys.stdin.read().lower() ^ SyntaxError: expected ':'
s533928115
p02417
u633068244
1393332029
Python
Python
py
Runtime Error
0
0
406
import sys import io import re az =["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] for x in sys.stdin.read().lower() for i in range(26): for j in range(len(x)): if x[j] == az[i]: sum_az[i] ...
File "/tmp/tmp64yucgsa/tmpc3xkd2uv.py", line 7 for x in sys.stdin.read().lower() ^ SyntaxError: expected ':'
s175966264
p02417
u633068244
1393332079
Python
Python
py
Runtime Error
0
0
367
import sys import io import re az =["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"] sum_az = [0 for x in range(26)] for x in sys.stdin.read().lower() for i in range(26): if x == az[i]: sum_az[i] += 1 for i in range(26): print ("...
File "/tmp/tmpm3jzigva/tmpv6orq6f3.py", line 7 for x in sys.stdin.read().lower() ^ SyntaxError: expected ':'
s552742600
p02417
u436634575
1400722459
Python
Python3
py
Runtime Error
0
0
162
s = '' while True: t = input() if len(t) == 0: break s += t.lower() for c in 'abcdefghijklmnopqrstuvwxyz': print('{} : {}'.format(c, s.count(c)))
Traceback (most recent call last): File "/tmp/tmp8pig0ulh/tmp6u2zw7rs.py", line 3, in <module> t = input() ^^^^^^^ EOFError: EOF when reading a line
s457573832
p02417
u436634575
1400722810
Python
Python3
py
Runtime Error
0
0
162
s = '' while True: t = input() if len(t) == 0: break s += t.lower() for c in 'abcdefghijklmnopqrstuvwxyz': print('{} : {}'.format(c, s.count(c)))
Traceback (most recent call last): File "/tmp/tmpvbfhcq2s/tmp_v0r9us_.py", line 3, in <module> t = input() ^^^^^^^ EOFError: EOF when reading a line
s045123134
p02418
u436366398
1555745323
Python
Python3
py
Runtime Error
0
0
50
print("Yes" if input()*2.find(input()) else "No")
File "/tmp/tmp8s_mdxu8/tmpd_ei4_47.py", line 1 print("Yes" if input()*2.find(input()) else "No") ^ SyntaxError: invalid decimal literal
s433448893
p02418
u697703458
1556005234
Python
Python3
py
Runtime Error
20
5564
390
s=input() p=input() sl = [i for i in s] pl = [i for i in p] lenp=len(p) pp=pl[-1] pcheck=-1 el=[i for i,x in enumerate(sl) if x==pp] check=0 for i in el: while True: if sl[i]==pl[pcheck]: i-=1 pcheck-=1 else: break if pcheck+lenp==0: check+=1 ...
Traceback (most recent call last): File "/tmp/tmppy1kq3q3/tmp5a6s8y1o.py", line 1, in <module> s=input() ^^^^^^^ EOFError: EOF when reading a line
s411253212
p02418
u697703458
1556005334
Python
Python3
py
Runtime Error
20
5560
421
s=input() p=input() sl = [i for i in s] pl = [i for i in p] lenp=len(p) pp=pl[-1] pcheck=-1 el=[i for i,x in enumerate(sl) if x==pp] check=0 for i in el: while True: if sl[i]==pl[pcheck]: i-=1 pcheck-=1 else: break if pcheck+lenp==0: check+=1 ...
Traceback (most recent call last): File "/tmp/tmpda3x6b3r/tmpp3a5rjye.py", line 1, in <module> s=input() ^^^^^^^ EOFError: EOF when reading a line
s319910111
p02418
u966110132
1559219926
Python
Python3
py
Runtime Error
0
0
501
def saiki(stri, i, nagasa): if stri[0, i] == stri[1,i]: if(nagasa == 1): return 1 else: nagasa -=1 stri.pop(0) i +=1 saiki(stri, i, nagasa) else: return 0 import sys input_str = sys.stdin.readlines() inputs = list(input_str) f...
Traceback (most recent call last): File "/tmp/tmp0oiyr0c9/tmp65nlmiup.py", line 17, in <module> for i in range(len(stri[0])): ^^^^ NameError: name 'stri' is not defined. Did you mean: 'str'?
s295275042
p02418
u535719732
1559293346
Python
Python3
py
Runtime Error
0
0
314
data = input() target = input() start = 0 flag = "No" for i in target: if(data[start:].find(i)): start = data[start:].find(i) elif(data[:start].find(i)): start = data.[:start:].find(i) else: print("No") break if(i == target[-1]): print("Yes") break
File "/tmp/tmp1u6b1f8p/tmp1whlfmch.py", line 10 start = data.[:start:].find(i) ^ SyntaxError: invalid syntax
s721776713
p02418
u535719732
1559293356
Python
Python3
py
Runtime Error
0
0
313
data = input() target = input() start = 0 flag = "No" for i in target: if(data[start:].find(i)): start = data[start:].find(i) elif(data[:start].find(i)): start = data.[:start].find(i) else: print("No") break if(i == target[-1]): print("Yes") break
File "/tmp/tmpkj_8_tmv/tmpsdis5ubn.py", line 10 start = data.[:start].find(i) ^ SyntaxError: invalid syntax
s951350179
p02418
u869301406
1459349165
Python
Python
py
Runtime Error
0
0
310
def find_word(sent, word): w = word if sent.find(w) > -1: return w,y elif len(w) == 0: return w,"No" else: return find_word(sent,w[:-1]) sent = raw_input() word = raw_input() s = "" s,y = find_word(sent,word) b = word.replace(s,"") a,y= find_word(sent,b) print y
File "/tmp/tmpc59fvz4i/tmp0cdrlz5q.py", line 19 print y ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s012128537
p02418
u869301406
1459350558
Python
Python
py
Runtime Error
0
0
431
def find_word(sent, word,s): w = word if len(w) > 0 : if sent.find(w) >= 0: return s else: s+=1 return find_word(sent,w[:-1],s) else : return -1 sent = raw_input() word = raw_input() s = find_word(sent,word,s) if s == -1: print "No" else:...
File "/tmp/tmpqipja8sf/tmpqokh4tny.py", line 17 print "No" ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s631992198
p02418
u572790226
1459833798
Python
Python
py
Runtime Error
0
0
96
s = input() p = input() s = s + s[0:len(p)] if s.find(p): print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmpd6jcm4qa/tmplpgid0_1.py", line 1, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s076470733
p02418
u100813820
1463644016
Python
Python3
py
Runtime Error
0
0
22
import re import numpy
s032213426
p02418
u617990214
1466177747
Python
Python
py
Runtime Error
0
0
167
half_ring=raw_input() ring=s*2 target=raw_input() f=0 for i in range(len(s)): if ring[i:i+len(target)]==target: f=1 break if f==1: print "Yes" else: print "No"
File "/tmp/tmp82v7r3pq/tmp7vqljzls.py", line 11 print "Yes" ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s157551274
p02418
u617990214
1466177830
Python
Python
py
Runtime Error
0
0
167
half_ring=raw_input() ring=s*2 target=raw_input() f=0 for i in range(len(s)): if ring[i:i+len(target)]==target: f=1 break if f==1: print "Yes" else: print "No"
File "/tmp/tmpnipaj_p2/tmpqp5i28yg.py", line 11 print "Yes" ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s703341916
p02418
u671553883
1470288180
Python
Python3
py
Runtime Error
0
0
58
s = [input().string()] print('endswith[a, start][e, end]')
Traceback (most recent call last): File "/tmp/tmpj8wa5cnx/tmpqs12a7fn.py", line 1, in <module> s = [input().string()] ^^^^^^^ EOFError: EOF when reading a line
s006359970
p02418
u671553883
1470288778
Python
Python3
py
Runtime Error
0
0
91
s = input() p = input() s *= 2 if s.finr(p) != -1: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpqgwh3a4j/tmp1yfdnwb6.py", line 1, in <module> s = input() ^^^^^^^ EOFError: EOF when reading a line
s891724184
p02418
u600195957
1470288781
Python
Python3
py
Runtime Error
0
0
91
s = print() p = print() s *= 2 if s.find(p) ! = =1: print("Yes") else: print("No")
File "/tmp/tmpg_80_7p0/tmp83swmzt7.py", line 5 if s.find(p) ! = =1: ^ SyntaxError: invalid syntax
s100142442
p02418
u600195957
1470288807
Python
Python3
py
Runtime Error
0
0
91
s = print() p = print() s *= 2 if s.find(p) ! = -1: print("Yes") else: print("No")
File "/tmp/tmppjda1o8i/tmpp7p2yusf.py", line 5 if s.find(p) ! = -1: ^ SyntaxError: invalid syntax
s561583091
p02418
u600195957
1470288844
Python
Python3
py
Runtime Error
0
0
90
s = print() p = print() s *= 2 if s.find(p) != -1: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpmhqnak1b/tmpbpvkewyr.py", line 4, in <module> s *= 2 TypeError: unsupported operand type(s) for *=: 'NoneType' and 'int'
s910030849
p02418
u661284763
1470289007
Python
Python3
py
Runtime Error
0
0
102
s = input() p = input() ???? s += s[:len(p)] if p in s: ????????print("Yes") else: ????????print("No")
File "/tmp/tmp_f2oya20/tmpwdxz22iz.py", line 3 ???? ^ SyntaxError: invalid syntax
s219303043
p02418
u216425054
1470980228
Python
Python3
py
Runtime Error
0
0
44
s=input() p=input() print("Yes" if p in s+s)
File "/tmp/tmpkyrami52/tmpggreb_52.py", line 3 print("Yes" if p in s+s) ^^^^^^^^^^^^^^^^^ SyntaxError: expected 'else' after 'if' expression
s869999107
p02418
u979507074
1476182317
Python
Python
py
Runtime Error
0
0
333
def check(s, p): count = 0 for i in range(len(s)): for j in range(len(p)): if s[(i+j) % len(s)] != p[j]: break count += 1 if count == len(p): return True return False s, p = raw_input() flag = check(s, p) if flag: print("Yes") else: ...
Traceback (most recent call last): File "/tmp/tmpd7x1kygr/tmpnqalgtos.py", line 12, in <module> s, p = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s612528699
p02418
u831244171
1477660126
Python
Python
py
Runtime Error
0
0
186
x = input() y = input() ##advencedknowledge a = [["advanceknowledge"]for i in range(10)] b = "" for i in a: b = b + "".join(i) if b.count(y) > 0: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpslwqbkdj/tmp8bv5ur0a.py", line 1, in <module> x = input() ^^^^^^^ EOFError: EOF when reading a line
s550409650
p02418
u086566114
1479484625
Python
Python
py
Runtime Error
0
0
222
ring = raw_input() * 2 word = raw_input() flag = 0 counter = 0 while counter < len(ring/2): if ring[counter:counter + len(word)] == word: flag = 1 break if flag: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp0yogyvzj/tmp3r2at29o.py", line 1, in <module> ring = raw_input() * 2 ^^^^^^^^^ NameError: name 'raw_input' is not defined