s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
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) |
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... |
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... |
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] |
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)) |
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)) |
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)) |
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)) |
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)) |
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)))) |
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... |
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... |
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,
... |
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,
... |
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])) |
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)) |
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)) |
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)) |
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)) |
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)) |
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;
} |
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;
} |
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])) |
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])) |
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)) |
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])) |
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])) |
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])) |
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])) |
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])) |
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])) |
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])) |
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])) |
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])) |
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))) |
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])) |
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])) |
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])) |
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])) |
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])) |
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])) |
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))) |
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... |
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... |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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)) |
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]))) |
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... |
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):
... |
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])) |
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])) |
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]) |
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]) |
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]) |
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]) |
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] |
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]) |
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]) |
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]) |
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(... |
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(... |
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(... |
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(... |
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... |
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 ... |
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))) |
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))) |
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))) |
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)))) |
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)))) |
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)))) |
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)))) |
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)))) |
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)) |
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)) |
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)) |
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)) |
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))) |
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]) |
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]) |
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__ == '__... |
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__ == '__... |
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)) |
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) |
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) |
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... |
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))) |
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))) |
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))) |
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))) |
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))) |
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]) |
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() ) |
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)) ) |
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() |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.