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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s180948444 | p02417 | u003762655 | 1450445717 | Python | Python3 | py | Runtime Error | 50 | 7308 | 186 | sent=""
while True:
ex=input().lower()
sent+=ex
if ex.endswith(".")==True:
break
for i in range(ord("a"),ord("z")+1):
x=sent.count(chr(i))
print(chr(i),":",x) | Traceback (most recent call last):
File "/tmp/tmpgak8cvit/tmp9ryvf5zv.py", line 3, in <module>
ex=input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s508524071 | p02417 | u130979865 | 1459613790 | Python | Python | py | Runtime Error | 0 | 0 | 353 | # -*- coding: utf-8 -*-
dic = {}
for i in range(ord('a'), ord('z')+1):
dic[chr(i)] = 0
while True:
buf = str(raw_input())
buf = buf.lower()
if not buf:
break
for i in range(len(buf)):
if buf[i].isalpha():
dic[buf[i]] += 1
for i in range(ord('a'), ord('z')+1):
print... | File "/tmp/tmpdzmkupak/tmpix5u_e9o.py", line 17
print "%s : %d" %(chr(i), dic[chr(i)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s474430349 | p02417 | u130979865 | 1459613868 | Python | Python | py | Runtime Error | 0 | 0 | 339 | # -*- coding: utf-8 -*-
dic = {}
for i in range(ord('a'), ord('z')+1):
dic[chr(i)] = 0
while True:
buf = str(raw_input()).lower()
if not buf:
break
for i in range(len(buf)):
if buf[i].isalpha():
dic[buf[i]] += 1
for i in range(ord('a'), ord('z')+1):
print "%s : %d" %(c... | File "/tmp/tmpho3fut9o/tmphn2mz9rd.py", line 16
print "%s : %d" %(chr(i), dic[chr(i)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s985838574 | p02417 | u771917453 | 1461210294 | Python | Python | py | Runtime Error | 0 | 0 | 160 | a = raw_input()
d = {}
for i in "abcdefghijklmnopqrstuvwxyz":
d[i] = 0
for i in a:
d[i] += 1
for i in "abcdefghijklmnopqrstuvwxyz":
print i,':',d[i] | File "/tmp/tmpjym905iq/tmpr4x_7fk0.py", line 8
print i,':',d[i]
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s589252625 | p02417 | u146647066 | 1462122483 | Python | Python | py | Runtime Error | 0 | 0 | 174 | while True:
try:
ip+=raw_input().lower()
except:
break
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for i in alphabet:
print i +' : '+ str(ip.count(i)) | File "/tmp/tmp08qd7u32/tmp4vp92ugd.py", line 8
print i +' : '+ str(ip.count(i))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s220520331 | p02417 | u146647066 | 1462122741 | Python | Python | py | Runtime Error | 0 | 0 | 182 | while True:
try:
p=raw_input().lower()
except:
break
ip+=p
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for i in alphabet:
print i +' : '+ str(ip.count(i)) | File "/tmp/tmpfqzxoow8/tmpaaqje7l9.py", line 9
print i +' : '+ str(ip.count(i))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s249905208 | p02417 | u146647066 | 1462123012 | Python | Python | py | Runtime Error | 0 | 0 | 182 | while True:
try:
p=raw_input()
except:
break
ip+=p.lower()
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for i in alphabet:
print i +' : '+ str(ip.count(i)) | File "/tmp/tmpl4929u4b/tmpkx45po5w.py", line 9
print i +' : '+ str(ip.count(i))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s557749902 | p02417 | u182913399 | 1463117910 | Python | Python3 | py | Runtime Error | 20 | 7408 | 295 | text = ''
while(True):
text += input().lower()
if text.endswith('.'):
break
count = [0 for i in range(26)]
for c in text:
if c < 'a' or c > 'z':
continue
count[ord(c) - ord('a')] += 1
for i, c in enumerate(count):
print('{0} : {1}'.format(chr(i + ord('a')), c)) | Traceback (most recent call last):
File "/tmp/tmpwvm7c0df/tmp57xegx0l.py", line 3, in <module>
text += input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s391273493 | p02417 | u182913399 | 1463118221 | Python | Python3 | py | Runtime Error | 30 | 7432 | 304 | text = ''
while(True):
text += input().lower()
if text[-1] in ['.', '?', '!']:
break
count = [0 for i in range(26)]
for c in text:
if c < 'a' or c > 'z':
continue
count[ord(c) - ord('a')] += 1
for i, c in enumerate(count):
print('{0} : {1}'.format(chr(i + ord('a')), c)) | Traceback (most recent call last):
File "/tmp/tmp_ns70rpc/tmp06wu64vd.py", line 3, in <module>
text += input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s732481982 | p02417 | u670498238 | 1463532886 | Python | Python3 | py | Runtime Error | 0 | 0 | 204 | sentence = ''
while True:
try:
sentence += input().lower()
except:
break
for i in range(ord('a'), ord('z') + 1):
print('{} : {}'.format(chr(i),sentence.count(chr(i)))) | File "/tmp/tmpfqjgassr/tmpq5tmhhwb.py", line 5
except:
^^^^^^
SyntaxError: invalid syntax
| |
s780512787 | p02417 | u617990214 | 1466167971 | Python | Python | py | Runtime Error | 0 | 0 | 527 | while True:
try:
ul_line=str(raw_input())
if ul_line="":
break
line=ul_line.lower()
dic_cnt={"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... | File "/tmp/tmp0ndluti8/tmpn_xwb511.py", line 4
if ul_line="":
^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s126696764 | p02417 | u617990214 | 1466168539 | Python | Python | py | Runtime Error | 0 | 0 | 455 | import sys
ul_line=sys.stdin.readlines()
line=ul_line.lower()
dic_cnt={"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
}
for i in line:
if i in di... | File "/tmp/tmpdb30m9uy/tmpfzdxvckl.py", line 24
print i,
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s704537435 | p02417 | u617990214 | 1466170294 | Python | Python | py | Runtime Error | 0 | 0 | 514 | while True:
ul_line=raw_input()
if ul_line==None:
break
line=ul_line.lower()
dic_cnt={"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,
... | File "/tmp/tmpz_gly7k1/tmpci8iwxo2.py", line 4
if ul_line==None:
TabError: inconsistent use of tabs and spaces in indentation
| |
s130128023 | p02417 | u617990214 | 1466174093 | Python | Python | py | Runtime Error | 0 | 0 | 554 | import sys
ul_line=sys.stdin.readlines()
for i in ul_line:
ul_line[i]=ul_line[i].lower()
line=str()
for i in ul_line:
line+=ul_line[i]
dic_cnt={"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,
... | File "/tmp/tmpxudkplva/tmpwvibwfic.py", line 3
ul_line=sys.stdin.readlines()
IndentationError: unexpected indent
| |
s094132163 | p02417 | u340901659 | 1468223980 | Python | Python3 | py | Runtime Error | 0 | 0 | 284 | alpha = "abcdefghijklmnopqrstuvwxyz"
counts = {key:0 for key in alpha}
while True:
t = input()
if t == "":
break
for s in t:
c = s.lower()
if c in alpha :
counts[c] += 1
for key in sorted(counts):
print(key+" : "+str(counts[key])) | Traceback (most recent call last):
File "/tmp/tmpjdyr5m5t/tmp01rabk5h.py", line 4, in <module>
t = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s287927590 | p02417 | u435917115 | 1470285375 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | import string
count = {x: 0 for x in string.ascii_lowercase}
s = input().lower()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, num)) | Traceback (most recent call last):
File "/tmp/tmp9kelf0y5/tmpj9x4485u.py", line 4, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s676573233 | p02417 | u204883389 | 1470285436 | Python | Python3 | py | Runtime Error | 0 | 0 | 213 | import string
count = {x: 0 for x in string.ascii_lowercase}
s = input().lower()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, num)) | Traceback (most recent call last):
File "/tmp/tmplm38xsr3/tmphgi4e0n9.py", line 5, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s726532134 | p02417 | u131984977 | 1470285448 | Python | Python3 | py | Runtime Error | 0 | 0 | 205 | import string
count = {x: 0 for x in string.ascii_lowercase}
s = input().lower()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, num)) | Traceback (most recent call last):
File "/tmp/tmpou60yvxk/tmp9saej5wn.py", line 5, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s107844216 | p02417 | u498041957 | 1470285750 | Python | Python3 | py | Runtime Error | 0 | 0 | 206 | import string
count = {x: 0 for x in string.ascii_lowercase}
s = input()
s.lower()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, num)) | Traceback (most recent call last):
File "/tmp/tmppe8ru3_q/tmp0ihwbysu.py", line 4, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s160501467 | p02417 | u204883389 | 1470285793 | Python | Python3 | py | Runtime Error | 0 | 0 | 205 | import string
count = {x: 0 for x in string.ascii_lowercase}
s = input()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, num)) | Traceback (most recent call last):
File "/tmp/tmpmry4bxq7/tmp_x7492on.py", line 5, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s256443892 | p02417 | u498041957 | 1470285855 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | #include <stdio.h>
#include <ctype.h>
#include <string.h>
int main() {
int alpha;
int cnt[256] = {0};
while( (alpha = getchar()) != EOF ) {
alpha = tolower( alpha );
cnt[alpha]++;
}
for(alpha = 'a'; alpha <= 'z'; alpha++) {
printf( "%c : %d\n", alpha, cnt[alpha] );
}
return 0;
} | File "/tmp/tmptf6r177k/tmpwkijk_7b.py", line 5
int main() {
^^^^
SyntaxError: invalid syntax
| |
s872029170 | p02417 | u498041957 | 1470285898 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | #include <stdio.h>
#include <ctype.h>
#include <string.h>
int main() {
int alpha;
int cnt[256] = {0};
while( (alpha = getchar()) != EOF ) {
alpha = tolower( alpha );
cnt[alpha]++;
}
for(alpha = 'a'; alpha <= 'z'; alpha++) {
printf( "%c : %d\n", alpha, cnt[alpha] );
}
return 0;
} | File "/tmp/tmpu500gepn/tmp146xsmx9.py", line 5
int main() {
^^^^
SyntaxError: invalid syntax
| |
s425620230 | p02417 | u587193722 | 1470286124 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines =''
while True:
try:
lines += input().lower()
except EOFError:
break
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0} : {1}".format(key,count[key])) | Traceback (most recent call last):
File "/tmp/tmpvtfui50c/tmppbj3nd00.py", line 11, in <module>
for c in s:
^
NameError: name 's' is not defined
| |
s564322595 | p02417 | u514745787 | 1470286255 | Python | Python3 | py | Runtime Error | 0 | 0 | 317 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
s = input().lower()
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpew5hmo56/tmpu3co2rc3.py", line 12, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s622938943 | p02417 | u644636020 | 1470286288 | Python | Python3 | py | Runtime Error | 0 | 0 | 302 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0 : {1}".format(key, count)) | Traceback (most recent call last):
File "/tmp/tmpi884m0sz/tmppxctgvb3.py", line 12, in <module>
for c in s:
^
NameError: name 's' is not defined
| |
s331238018 | p02417 | u644636020 | 1470286316 | Python | Python3 | py | Runtime Error | 0 | 0 | 303 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0 : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpcaf7foaf/tmpid7b30s6.py", line 12, in <module>
for c in s:
^
NameError: name 's' is not defined
| |
s730433436 | p02417 | u514745787 | 1470286321 | Python | Python3 | py | Runtime Error | 0 | 0 | 296 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in count:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmppevfm_1f/tmp2jua9sy5.py", line 12, in <module>
for c in s:
^
NameError: name 's' is not defined
| |
s598826392 | p02417 | u644636020 | 1470286357 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0 : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmptqhe5t6j/tmp44imefwf.py", line 17, in <module>
print("{0 : {1}".format(key, count[key]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: unmatched '{' in format spec
| |
s554544726 | p02417 | u514745787 | 1470286361 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in s:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpakssfca4/tmpqt_y80yz.py", line 12, in <module>
for c in s:
^
NameError: name 's' is not defined
| |
s681992074 | p02417 | u661284763 | 1470286456 | Python | Python3 | py | Runtime Error | 0 | 0 | 297 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lowwer()
except EOFError:
break
fpr c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key,num in count.items():
print("{0} : {1}".format(key, count[key])) | File "/tmp/tmpm26p41n4/tmpvtcy9b89.py", line 12
fpr c in lines:
^
SyntaxError: invalid syntax
| |
s230991066 | p02417 | u644636020 | 1470286492 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0 : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmp34b7mdv5/tmp32m5u0hr.py", line 17, in <module>
print("{0 : {1}".format(key, count[key]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: unmatched '{' in format spec
| |
s803910803 | p02417 | u671553883 | 1470286535 | Python | Python3 | py | Runtime Error | 0 | 0 | 314 | import string
count = {x: 0 for x in string. ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in string.ascii_lowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpt32uycjy/tmpa9slv7tv.py", line 16, in <module>
for key, num in string.ascii_lowercase:
^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
| |
s384221537 | p02417 | u671553883 | 1470286546 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string. ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in ascii_lowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmp54umlxnp/tmp49yvebr6.py", line 16, in <module>
for key, num in ascii_lowercase:
^^^^^^^^^^^^^^^
NameError: name 'ascii_lowercase' is not defined
| |
s789860680 | p02417 | u671553883 | 1470286559 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string. ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in ascii.lowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpnmt6nyy6/tmpyoom7ese.py", line 16, in <module>
for key, num in ascii.lowercase:
^^^^^^^^^^^^^^^
AttributeError: 'builtin_function_or_method' object has no attribute 'lowercase'
| |
s211014222 | p02417 | u628732336 | 1470286586 | Python | Python3 | py | Runtime Error | 0 | 0 | 312 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in string.ascii_lowercase:
print("{0} : {1}".format(key, count(key))) | Traceback (most recent call last):
File "/tmp/tmp9d5sg8hn/tmpni5i7tiu.py", line 15, in <module>
for key, num in string.ascii_lowercase:
^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
| |
s614902677 | p02417 | u671553883 | 1470286595 | Python | Python3 | py | Runtime Error | 0 | 0 | 312 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key, num in string.asciilowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmpbwbg77td/tmp8lj_e_aq.py", line 16, in <module>
for key, num in string.asciilowercase:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'string' has no attribute 'asciilowercase'. Did you mean: 'ascii_lowercase'?
| |
s904282058 | p02417 | u661284763 | 1470286617 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
fpr c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii lowercase:
print("{0} : {1}".format(key, count[key])) | File "/tmp/tmpqw4v679r/tmpr_3qu8se.py", line 12
fpr c in lines:
^
SyntaxError: invalid syntax
| |
s927422637 | p02417 | u671553883 | 1470286661 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key,in string.asciilowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmp2m403tsv/tmposm4aahv.py", line 16, in <module>
for key,in string.asciilowercase:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'string' has no attribute 'asciilowercase'. Did you mean: 'ascii_lowercase'?
| |
s346704409 | p02417 | u671553883 | 1470286672 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.asciilowercase:
print("{0} : {1}".format(key, count[key])) | Traceback (most recent call last):
File "/tmp/tmp79v2ppcu/tmph77fwgeg.py", line 16, in <module>
for key in string.asciilowercase:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'string' has no attribute 'asciilowercase'. Did you mean: 'ascii_lowercase'?
| |
s281945451 | p02417 | u671553883 | 1470286684 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii lowercase:
print("{0} : {1}".format(key, count[key])) | File "/tmp/tmpak4l87iq/tmpm8il544a.py", line 16
for key in string.ascii lowercase:
^^^^^^^^^
SyntaxError: invalid syntax
| |
s349622696 | p02417 | u671553883 | 1470286829 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii lowercase:
print("{0} : {1}".format(key, count[key])) | File "/tmp/tmpbwogk49p/tmpaibb84dc.py", line 16
for key in string.ascii lowercase:
^^^^^^^^^
SyntaxError: invalid syntax
| |
s770421280 | p02417 | u628732336 | 1470287348 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | import string
count = {x: 0 for x in string.ascii_lowercase}
lines = ""
while True:
try:
lines += input().lower()
except EOFError:
break
for c in lines:
if 'a' <= c <= 'z':
count[c] += 1
for key in string.ascii_lowercase:
print("{0} : {1}".format(key, count(key))) | Traceback (most recent call last):
File "/tmp/tmpraizr7lc/tmp3e5me4tu.py", line 16, in <module>
print("{0} : {1}".format(key, count(key)))
^^^^^^^^^^
TypeError: 'dict' object is not callable
| |
s396808351 | p02417 | u216425054 | 1470931327 | Python | Python3 | py | Runtime Error | 0 | 0 | 349 | import string
a=[]
while True:
b=input()
if b=="":
break
else:
a=a+[str(x) for x in b.lower().replace(" ","",10000)]
dictionary={}
alphabetlist=string.ascii_lowercase
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(st... | Traceback (most recent call last):
File "/tmp/tmppyj8vrnq/tmpggy2pyw8.py", line 4, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s891156062 | p02417 | u216425054 | 1470931363 | Python | Python3 | py | Runtime Error | 0 | 0 | 344 | import string
a=[]
while True:
b=input()
if b=="":
break
else:
a=a+[str(x) for x in b.lower().replace(" ","",10000)]
dictionary={}
alphabetlist=string.ascii_lowercase
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(st... | Traceback (most recent call last):
File "/tmp/tmp8t24h770/tmpy62sh1yh.py", line 4, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s359921601 | p02417 | u216425054 | 1470931458 | Python | Python3 | py | Runtime Error | 0 | 0 | 280 | a=[]
while True:
b=input()
if b=="":
break
else:
a=a+[str(x) for x in b.lower().replace(" ","",10000)]
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | Traceback (most recent call last):
File "/tmp/tmp9wi5wmf1/tmpixa35dve.py", line 3, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s583947164 | p02417 | u216425054 | 1470931508 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | a=[]
while True:
b=input()
if b=="":
break
else:
a=a+[str(x) for x in b.lower().replace(" ","",100)]
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | Traceback (most recent call last):
File "/tmp/tmptdayo9sy/tmpz8riaxpk.py", line 3, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s233251348 | p02417 | u216425054 | 1470931756 | Python | Python | py | Runtime Error | 0 | 0 | 287 | a=[]
while True:
b=input()
if b=="":
break
else:
a=a+[str(x) for x in b.lower().replace(" ","",100)]
print(a)
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | Traceback (most recent call last):
File "/tmp/tmp4d_5kp77/tmp637dgsx0.py", line 3, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s891867121 | p02417 | u216425054 | 1470932219 | Python | Python3 | py | Runtime Error | 0 | 0 | 291 | a=[]
for i in range(1200):
b=input()
if b=="":
continue
else:
a=a+[str(x) for x in b.lower().replace(" ","",100)]
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | File "/tmp/tmp9jke3ymo/tmpxd0bgw2w.py", line 2
for i in range(1200):
IndentationError: unexpected indent
| |
s293291833 | p02417 | u216425054 | 1470932242 | Python | Python3 | py | Runtime Error | 0 | 0 | 287 | a=[]
for i in range(1200):
b=input()
if b=="":
continue
else:
a=a+[str(x) for x in b.lower().replace(" ","",100)]
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | Traceback (most recent call last):
File "/tmp/tmpcgxcge7g/tmpqis6i6g4.py", line 3, in <module>
b=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s121145715 | p02417 | u216425054 | 1470932362 | Python | Python3 | py | Runtime Error | 0 | 0 | 240 | import sys
a=[]
for line in sys.stdin:
a=a+[str(x) for x in b.lower().replace(" ","",100)]
for i in "abcdefghijklmnopqrstuvwxyz":
counter=0
for j in a:
if i==j:
counter+=1
print(str(i)+" : "+str(counter)) | 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
| |
s294728019 | p02417 | u589886885 | 1471613229 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | rom collections import OrderedDict
cnt = OrderedDict()
for i in range(ord('a'), ord('z') + 1):
cnt[chr(i)] = 0
s = input().lower()
for i in s:
if i in cnt:
cnt[i] += 1
for k, v in cnt.items():
print('{}:{}'.format(k, v)) | File "/tmp/tmp40dca6tr/tmpu590gski.py", line 1
rom collections import OrderedDict
^^^^^^^^^^^
SyntaxError: invalid syntax
| |
s588148169 | p02417 | u358919705 | 1471643894 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | uppers = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
lowers = 'abcdefghijklmnopqrstuvwxyz'
s = []
while len(s) < 1200:
s += list(input())
for i in range(26):
print(lowers[i] + ' : ' + str(s.count(uppers[i]) + s.count(lowers[i]))) | Traceback (most recent call last):
File "/tmp/tmpwungkmj8/tmpof48qqke.py", line 5, in <module>
s += list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s341134868 | p02417 | u677859833 | 1473548698 | Python | Python3 | py | Runtime Error | 0 | 0 | 503 | S = input()
Slist = list(S)
try:
S = input()
Slist.extend(list(S))
except EOFError:
Slist.append([])
#??????????????????????????????
dic = {}
for i in range(26):
cord = 97+i
dic[chr(cord)] = 0
for i in range(len(Slist)):
if ord("a") <= ord(Slist[i]):
nowW = Slist[i]
else:
now... | Traceback (most recent call last):
File "/tmp/tmp75u0e_o9/tmpcyylb42p.py", line 1, in <module>
S = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s242814271 | p02417 | u119456964 | 1477205396 | Python | Python | py | Runtime Error | 10 | 6252 | 380 | count = [0 for i in range(26)]
while(1):
try:
str = str(raw_input().lower())
except EOFError:
break
for i in range(len(str)):
k = 97
for j in range(26):
if str[i] == chr(k):
count[j] += 1
k += 1
k = 97
for i in range(26):
... | File "/tmp/tmp7zd1ju3m/tmp898z06nu.py", line 17
print "%s : %d" % (chr(k), count[i])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s689066350 | p02417 | u996758922 | 1477210597 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | import sys
given = []
for line in sys.stdin:
given.append(line)
count = [0]*26
for i in range(len(given)):
if ord(given[i]) >= 97 and ord(given[i]) <= 122:
count[ord(given[i])-97] += 1
for i in range(26):
print(chr(i+97)+" : " + str(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
| |
s370870602 | p02417 | u996758922 | 1477210901 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | import sys
input_char = []
for line in sys.stdin:
input_char.append(line)
count = [0]*26
for i in range(len(given)):
if ord(input_char[i]) >= 97 and ord(input_char[i]) <= 122:
count[ord(input_char[i])-97] += 1
for i in range(26):
print(chr(i+97)+" : " + str(count[i])) | Traceback (most recent call last):
File "/tmp/tmpjukkva_k/tmpvmx55gn1.py", line 8, in <module>
for i in range(len(given)):
^^^^^
NameError: name 'given' is not defined
| |
s938905797 | p02417 | u831244171 | 1477584268 | Python | Python | py | Runtime Error | 0 | 0 | 211 | n = list(input().upper())
charac = []
for j in range(65,65+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmp40o1n19c/tmpc8mafaim.py", line 1, in <module>
n = list(input().upper())
^^^^^^^
EOFError: EOF when reading a line
| |
s028197250 | p02417 | u831244171 | 1477584295 | Python | Python | py | Runtime Error | 0 | 0 | 238 | n = list(input().upper())
charac = []
for j in range(65,65+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmpl24038e1/tmp0rq3vtoj.py", line 1, in <module>
n = list(input().upper())
^^^^^^^
EOFError: EOF when reading a line
| |
s041266764 | p02417 | u831244171 | 1477584721 | Python | Python | py | Runtime Error | 0 | 0 | 211 | n = list(input().lower())
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmpjwlcw_q9/tmpqfjp6t9e.py", line 1, in <module>
n = list(input().lower())
^^^^^^^
EOFError: EOF when reading a line
| |
s845099824 | p02417 | u831244171 | 1477584760 | Python | Python | py | Runtime Error | 0 | 0 | 242 | n = list(input().lower())
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmp3qat2vfa/tmpc4kglfzk.py", line 1, in <module>
n = list(input().lower())
^^^^^^^
EOFError: EOF when reading a line
| |
s830974264 | p02417 | u831244171 | 1477584777 | Python | Python | py | Runtime Error | 0 | 0 | 241 | n = list(input().lower())
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print charac[i] | File "/tmp/tmpwy9xh3y2/tmpd8244bqh.py", line 11
print charac[i]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s370704406 | p02417 | u831244171 | 1477654994 | Python | Python | py | Runtime Error | 0 | 0 | 242 | n = list(raw.input().lower())
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmp5j0r8por/tmp4qkydfbr.py", line 1, in <module>
n = list(raw.input().lower())
^^^
NameError: name 'raw' is not defined
| |
s096895966 | p02417 | u831244171 | 1477655285 | Python | Python | py | Runtime Error | 0 | 0 | 318 | k = []
while True:
m = raw_input().lower()
if m == []:
break
k.append(m)
n = list(k)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmpqd83t656/tmpwflvwtit.py", line 3, in <module>
m = raw_input().lower()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s017251811 | p02417 | u831244171 | 1477655905 | Python | Python | py | Runtime Error | 0 | 0 | 270 | import sys
n = list(sys.stdin.readlines().join().lower())
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i in range(0,26):
print(charac[i]) | Traceback (most recent call last):
File "/tmp/tmpz6jrdho_/tmp063hxoiq.py", line 2, in <module>
n = list(sys.stdin.readlines().join().lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'join'
| |
s157638249 | p02417 | u831244171 | 1477657763 | Python | Python | py | Runtime Error | 0 | 0 | 367 | n = []
while True:
c = list(raw_input().lower())
if c == []:
break
n.append(c)
a = ""
for i in n:
a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(... | Traceback (most recent call last):
File "/tmp/tmpq071vbe8/tmpzfzazs3d.py", line 3, in <module>
c = list(raw_input().lower())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s505538058 | p02417 | u831244171 | 1477657838 | Python | Python | py | Runtime Error | 0 | 0 | 367 | n = []
while True:
c = list(raw_input().lower())
if c == []:
break
n.append(c)
a = ""
for i in n:
a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(... | Traceback (most recent call last):
File "/tmp/tmpiecpm1_y/tmp78f_9g2i.py", line 3, in <module>
c = list(raw_input().lower())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s226601603 | p02417 | u831244171 | 1477657868 | Python | Python | py | Runtime Error | 0 | 0 | 370 | n = []
while True:
c = list(raw_input().lower())
if c == []:
break
n.append(c)
a = ""
for i in n:
a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(... | Traceback (most recent call last):
File "/tmp/tmpqih_bjkf/tmpimxvek7v.py", line 3, in <module>
c = list(raw_input().lower())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s644514141 | p02417 | u831244171 | 1477658024 | Python | Python | py | Runtime Error | 0 | 0 | 370 | n = []
while True:
c = list(raw_input().lower())
if c == []:
break
n.append(c)
a = ""
for i in n:
a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(... | Traceback (most recent call last):
File "/tmp/tmpbv7yi2vw/tmpl89bzstk.py", line 3, in <module>
c = list(raw_input().lower())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s570631368 | p02417 | u831244171 | 1477658190 | Python | Python | py | Runtime Error | 0 | 0 | 357 | n = []
while True:
try:
c = list(raw_input().lower())
n.append(c)
a = ""
for i in n:
a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i... | File "/tmp/tmp9jeqf0c0/tmpzg8pap9m.py", line 7
a = ""
SyntaxError: expected 'except' or 'finally' block
| |
s370861113 | p02417 | u831244171 | 1477658335 | Python | Python | py | Runtime Error | 0 | 0 | 356 | n = ""
while True:
try:
c = raw_input().lower()
if c != ""
n = n + c
except:
break
n = list(n)
charac = []
for j in range(97,97+26):
m= 0
for i in range(0,len(n)):
if ord(n[i]) == j:
m += 1
charac.append("{} : {}".format(chr(j),m))
for i ... | File "/tmp/tmp0hxph0s6/tmp4o511nuv.py", line 5
if c != ""
^
SyntaxError: expected ':'
| |
s696546616 | p02417 | u831244171 | 1477658962 | Python | Python | py | Runtime Error | 0 | 0 | 191 | y = ""
while True:
try:
c = raw_input().lower()
y = y + c
except:
break
for i in range(ord('a'),ord('z')+1):
print("{}: {}".format(chr(i),y.count(chr(i))) | File "/tmp/tmpv61rucnl/tmprwqnm22m.py", line 10
print("{}: {}".format(chr(i),y.count(chr(i)))
^
SyntaxError: '(' was never closed
| |
s831999850 | p02417 | u801346721 | 1477909603 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | s = input().split()
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(i))) | File "/tmp/tmpk2z225lf/tmpj6qk18w6.py", line 4
print("{0} : {1}".format(chr(i), s.count(chr(i)))
^
SyntaxError: '(' was never closed
| |
s526073735 | p02417 | u801346721 | 1477909642 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | s = input()
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(i))) | File "/tmp/tmp75t58ers/tmpqr01p61a.py", line 4
print("{0} : {1}".format(chr(i), s.count(chr(i)))
^
SyntaxError: '(' was never closed
| |
s315347362 | p02417 | u801346721 | 1477910159 | Python | Python3 | py | Runtime Error | 0 | 0 | 155 | import sys
s = []
for i in sys.stdin:
s.append(input().lower())
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(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
| |
s723397928 | p02417 | u801346721 | 1477910912 | Python | Python3 | py | Runtime Error | 0 | 0 | 155 | import sys
s = []
for i in sys.stdin:
s.append(input().lower())
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(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
| |
s593190810 | p02417 | u801346721 | 1477910934 | Python | Python3 | py | Runtime Error | 0 | 0 | 155 | import sys
s = []
for i in sys.stdin:
s.append(input().lower())
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(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
| |
s576839551 | p02417 | u801346721 | 1477911065 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | s = []
while 1:
inp = input().lower()
if inp == null:
break
s.append(inp)
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(i)))) | Traceback (most recent call last):
File "/tmp/tmp7_vas7ni/tmplj0k7d3z.py", line 3, in <module>
inp = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s063545718 | p02417 | u801346721 | 1477911700 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | s = []
while 1:
inp = input().lower()
if inp == EOF:
break
s.append(inp)
for i in range(ord('a'), ord('z')+1):
print("{0} : {1}".format(chr(i), s.count(chr(i)))) | Traceback (most recent call last):
File "/tmp/tmp4sd8i_ds/tmpo82wsx__.py", line 3, in <module>
inp = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s861143047 | p02417 | u237991875 | 1479145907 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | sentence = input()
d ={}
for i in [chr(i) for i in range(97,97+26)]:
d[i] = 0
for char in sentence:
if char.isalpha():
d[char] += 1
for key, value in sorted(d.items()):
print('%s : %s' % (key, value)) | Traceback (most recent call last):
File "/tmp/tmpvnig_4c8/tmpssw31ah9.py", line 1, in <module>
sentence = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s221103215 | p02417 | u237991875 | 1479146035 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | sentence = input()
d ={}
for i in [chr(i) for i in range(97,97+26)]:
d[i] = 0
for char in sentence:
if char.isalpha():
d[char] += 1
for key, value in sorted(d.items()):
print('%s : %s' % (key, value)) | Traceback (most recent call last):
File "/tmp/tmpy8oqchi3/tmprgigusxx.py", line 1, in <module>
sentence = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s240223779 | p02417 | u237991875 | 1479146048 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | sentence = input()
d ={}
for i in [chr(i) for i in range(97,97+26)]:
d[i] = 0
for char in sentence:
if char.isalpha():
d[char] += 1
for key, value in sorted(d.items()):
print('%s : %s' % (key, value)) | Traceback (most recent call last):
File "/tmp/tmpnycswj_b/tmpbhcomq_z.py", line 1, in <module>
sentence = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s211609280 | p02417 | u237991875 | 1479146418 | Python | Python3 | py | Runtime Error | 0 | 0 | 210 | sentence = input()
d = {}
for i in range(97,97+26):
d[chr(i)] = 0
for char in sentence:
if char.isalpha():
d[char] += 1
for key, value in sorted(d.items()):
print('%s : %s' % (key, value)) | Traceback (most recent call last):
File "/tmp/tmph2z7901g/tmp32l2oqqt.py", line 1, in <module>
sentence = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s384881128 | p02417 | u237991875 | 1479147586 | Python | Python3 | py | Runtime Error | 0 | 0 | 159 | import sys
data = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin:
sentence += line.lower()
for i in data:
print(i + ' : ' + str(sentence.count(i))) | Traceback (most recent call last):
File "/tmp/tmpns6ydt7v/tmpakd1gx6s.py", line 6, in <module>
print(i + ' : ' + str(sentence.count(i)))
^^^^^^^^
NameError: name 'sentence' is not defined
| |
s114548849 | p02417 | u086566114 | 1479482246 | Python | Python | py | Runtime Error | 0 | 0 | 313 | alphabet = "abcdefghijklmnopqrstuvwxyz"
dictionary = {}
for character in alphabet:
dictionary[character] = 0
for character in raw_input():
if character.lowercase() in dictionary:
dictionary[character.lowercase()] += 1
for character in alphabet:
print(character + ' ' + dictionary[character]) | Traceback (most recent call last):
File "/tmp/tmpujybqjcl/tmpn4kki_nu.py", line 6, in <module>
for character in raw_input():
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s933979353 | p02417 | u086566114 | 1479482284 | Python | Python | py | Runtime Error | 0 | 0 | 305 | alphabet = "abcdefghijklmnopqrstuvwxyz"
dictionary = {}
for character in alphabet:
dictionary[character] = 0
for character in raw_input():
if character.lower() in dictionary:
dictionary[character.lower()] += 1
for character in alphabet:
print(character + ' ' + dictionary[character]) | Traceback (most recent call last):
File "/tmp/tmpqeis_fr_/tmp2h_vp9qe.py", line 6, in <module>
for character in raw_input():
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s258762115 | p02417 | u811733736 | 1480389304 | Python | Python3 | py | Runtime Error | 30 | 7352 | 1122 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_C
?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? ??????????°?????????¨??§??????????????\???????????????
"""
if __name__ == '__... | Traceback (most recent call last):
File "/tmp/tmp0s6l0qnn/tmplhe8of5c.py", line 15, in <module>
raw_input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s082284861 | p02417 | u811733736 | 1480389484 | Python | Python3 | py | Runtime Error | 20 | 7424 | 1141 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_C
?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? ??????????°?????????¨??§??????????????\???????????????
"""
if __name__ == '__... | Traceback (most recent call last):
File "/tmp/tmppco50dya/tmppywejnpj.py", line 15, in <module>
raw_input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s466346614 | p02417 | u216804574 | 1480517077 | Python | Python3 | py | Runtime Error | 0 | 0 | 211 | import string
alphabets = {k:0 for k in string.ascii_lowercase}
for c in input().lower():
if c == ' ':
continue
alphabets[c] += 1
for c, n in sorted(alphabets.items()):
print("{} : {}".format(c, n)) | Traceback (most recent call last):
File "/tmp/tmpbv7szf66/tmp_vuhmwgn.py", line 5, in <module>
for c in input().lower():
^^^^^^^
EOFError: EOF when reading a line
| |
s771710582 | p02417 | u494314211 | 1481442100 | Python | Python3 | py | Runtime Error | 0 | 0 | 184 | s=list(input())
res=[0 for i in range(26)]
for i in s:
if i.isalnum():
i=i.lower()
res[ord(s)-ord("a")]+=1
for i in range(26):
s=chr(ord(i)+ord("a"))+" : "+str(res[i])
print(s) | Traceback (most recent call last):
File "/tmp/tmp56__lrj3/tmp9zceflst.py", line 1, in <module>
s=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s825772034 | p02417 | u494314211 | 1481442168 | Python | Python3 | py | Runtime Error | 0 | 0 | 184 | s=list(input())
res=[0 for i in range(26)]
for i in s:
if i.isalnum():
i=i.lower()
res[ord(s)-ord("a")]+=1
for i in range(26):
s=chr(ord(i)+ord("a"))+" : "+str(res[i])
print(s) | Traceback (most recent call last):
File "/tmp/tmp24h3c5ja/tmpq5oh3pnp.py", line 1, in <module>
s=list(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s402035446 | p02417 | u957840591 | 1481983569 | Python | Python | py | Runtime Error | 0 | 0 | 512 | sen=raw_input()
a=[]
b=[]
c=[]
d=[]
e=[]
f=[]
g=[]
h=[]
i=[]
j=[]
k=[]
l=[]
m=[]
n=[]
o=[]
p=[]
q=[]
r=[]
s=[]
t=[]
u=[]
v=[]
x=[]
y=[]
z=[]
w=[]
count={'a':a,'b':b,'c':c,'d':d,'e':e,'f':f,'g':g,'h':h,'i':i,'j':j,'k':k,'l':l,'m':m,'n':n,'o':o,'p':p,'q':q,'r':r,'s':s,'t':t,'u':u,'v':v,'w':w,'x':x,'y':y,'z':z}
for i in r... | Traceback (most recent call last):
File "/tmp/tmpddp861c3/tmpbfik9wf_.py", line 1, in <module>
sen=raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s727201186 | p02417 | u547492399 | 1483765234 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | import sys
text = ''
while True:
s = input().lower()
if s == '':
break
text += s
for i in 'abcdefghijklmnopqrstuvwxyz':
#print(i+' : '+str(s.count(i)))
sys.stdout.write("{0} : {1}\n".format(i, text.count(i))) | Traceback (most recent call last):
File "/tmp/tmp83rwbhdz/tmp_eqb_c6u.py", line 4, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s218866440 | p02417 | u547492399 | 1483765250 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | text = ''
while True:
s = input().lower()
if s == '':
break
text += s
for i in 'abcdefghijklmnopqrstuvwxyz':
#print(i+' : '+str(s.count(i)))
sys.stdout.write("{0} : {1}\n".format(i, text.count(i))) | Traceback (most recent call last):
File "/tmp/tmp9nvjm7dp/tmpayjq9get.py", line 3, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s710260538 | p02417 | u547492399 | 1483765277 | Python | Python3 | py | Runtime Error | 0 | 0 | 214 | text = ''
while True:
s = input().lower()
if s == '':
break
text += s
for i in 'abcdefghijklmnopqrstuvwxyz':
#print(i+' : '+str(s.count(i)))
print("{0} : {1}\n".format(i, text.count(i))) | Traceback (most recent call last):
File "/tmp/tmphdxmv35b/tmpeo63g2ni.py", line 3, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s842807932 | p02417 | u547492399 | 1483765312 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | text = ''
while True:
s = input().lower()
if s == '':
break
text += s
for i in 'abcdefghijklmnopqrstuvwxyz':
#print(i+' : '+str(s.count(i)))
print("{0} : {1}".format(i, text.count(i))) | Traceback (most recent call last):
File "/tmp/tmp2q0mq6l7/tmph26rdqw2.py", line 3, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s814608736 | p02417 | u547492399 | 1483765440 | Python | Python3 | py | Runtime Error | 0 | 0 | 215 | text = ''
while True:
s = input().lower()
if s == '':
break
text += s
for i in 'abcdefghijklmnopqrstuvwxyz':
print(i+' : '+str(text.count(i)))
#print("{0} : {1}".format(i, text.count(i))) | Traceback (most recent call last):
File "/tmp/tmpoyzglr58/tmp6yxx_lpo.py", line 3, in <module>
s = input().lower()
^^^^^^^
EOFError: EOF when reading a line
| |
s104185891 | p02417 | u513411598 | 1485074564 | Python | Python3 | py | Runtime Error | 0 | 0 | 199 | import sys
import string
dic = {}
for c in string.ascii_lowercase:
dic[c] = 0
for c in sys.stdin.read().lower():
if c.isalpha():
dic[c] += 1
for c in dic:
print(c+" : "+dic[c]) | Traceback (most recent call last):
File "/tmp/tmp77wbjejc/tmp7pdmuit_.py", line 13, in <module>
print(c+" : "+dic[c])
~~~~~~~^~~~~~~
TypeError: can only concatenate str (not "int") to str
| |
s132787556 | p02417 | u144068724 | 1486308010 | Python | Python3 | py | Runtime Error | 0 | 0 | 113 | a = input()
alphabet = "abcdefghijklmnopqrstuvwxyz"
for i in alphabet:
print(i + " : " + a.lower().count() ) | Traceback (most recent call last):
File "/tmp/tmptz3tnegl/tmpvh5d9env.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s475011745 | p02417 | u144068724 | 1486308401 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | import sys
a = sys.stdin.readline
alphabet = "abcdefghijklmnopqrstuvwxyz"
for i in alphabet:
print(i + " : " + str(a.lower().count(i)) ) | Traceback (most recent call last):
File "/tmp/tmpgxf5p4vd/tmp7k9pnw85.py", line 7, in <module>
print(i + " : " + str(a.lower().count(i)) )
^^^^^^^
AttributeError: 'builtin_function_or_method' object has no attribute 'lower'
| |
s946117889 | p02417 | u104171359 | 1486965787 | Python | Python3 | py | Runtime Error | 0 | 0 | 300 | #!usr/bin/env python3
import sys
def main():
text = str()
alphabets = 'abcdefghijklmnopqrstuvwxyz'
for line in sys.stdin():
text += line.lower()
for alphabet in alphabets:
print('%s : %d' % (alphabet, text.count(alphabet)))
if __name__ == '__main__':
main() | Traceback (most recent call last):
File "/tmp/tmpu04s2ki0/tmpsjpgy7cm.py", line 18, in <module>
main()
File "/tmp/tmpu04s2ki0/tmpsjpgy7cm.py", line 10, in main
for line in sys.stdin():
^^^^^^^^^^^
TypeError: '_io.TextIOWrapper' object is not callable
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.