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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s649734510 | p02416 | u629874472 | 1559134878 | Python | Python3 | py | Runtime Error | 0 | 0 | 107 | while True:
n = list(map(int,input()))
if n[0] ==0:
break
else:
print(n.sum())
|
s083869736 | p02416 | u966110132 | 1559204423 | Python | Python3 | py | Runtime Error | 0 | 0 | 208 | go = 1
while go == 1:
a = str(input())
alist = list(a)
if a ==0:
go = 0
exit
sum = 0
for i in alist:
i = int(i)
sum += i
if go == 1:
print(sum)
|
s406786349 | p02416 | u535719732 | 1559290465 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | while True:
num = input()
ret = 0
for i in num:
ret += num
print(num)
|
s617528859 | p02416 | u535719732 | 1559290487 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | while True:
num = input()
ret = 0
for i in num:
ret += int(i)
print(num)
|
s758425392 | p02416 | u535719732 | 1559290572 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | while True:
num = input()
if(num == 0): break
ret = 0
for i in num:
ret += int(i)
print(ret)
|
s949963478 | p02416 | u535719732 | 1559290593 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | while True:
num = str(input())
if(num == 0): break
ret = 0
for i in num:
ret += int(i)
print(ret)
|
s746277289 | p02416 | u017764209 | 1420630598 | Python | Python | py | Runtime Error | 0 | 0 | 72 | x = map(input(int,list(x))
if 0 != x[0]:
print sum(map(int,list(x))) |
s133183378 | p02416 | u017764209 | 1420630615 | Python | Python | py | Runtime Error | 0 | 0 | 57 | x = map(input(int,list(x))
if 0 != x[0]:
print sum(x) |
s825217964 | p02416 | u971748390 | 1431078996 | Python | Python3 | py | Runtime Error | 0 | 0 | 256 | import math
while True :
x = int(input())
if x == 0 :
break
else :
sum = 0
n=floor(log(x,10))
sum = floor(x/pow(10,n))
for i in reversed(xrange(n+1))
sum = sum + floor((x%pow(10,i))/pow(10,i-1))
print(sum)
|
s601660863 | p02416 | u971748390 | 1431079058 | Python | Python3 | py | Runtime Error | 0 | 0 | 255 | import math
while True :
x = int(input())
if x == 0 :
break
else :
sum = 0
n=floor(log(x,10))
sum = floor(x/pow(10,n))
for i in reversed(range(n+1))
sum = sum + floor((x%pow(10,i))/pow(10,i-1))
print(sum)
|
s222290542 | p02416 | u971748390 | 1431079580 | Python | Python3 | py | Runtime Error | 0 | 0 | 246 | import math
while True :
x = int(input())
if x == 0 :
break
else :
sum = 0
n=floor(log(x,10))
sum = floor(x/pow(10,n))
for i in reversed(xrange(n+1)):
sum = sum + floor((x%pow(10,i))/pow(10,i-1))
print(sum) |
s024306062 | p02416 | u971748390 | 1431079723 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | while True
x = input()
if x == 0 :
break
else:
sum = 0
for i in range(len(x)) :
sum += int(x[i]) |
s154911851 | p02416 | u971748390 | 1431080351 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | while True :
x = input()
if x == '0' :
break
else:
sum = 0
for i in range(len(x)) :
sum += int(x[i])
print(sum) |
s775340890 | p02416 | u971748390 | 1431080535 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | import sys
while True :
x = input()
if x == '0' :
break
else:
sum = 0
for i in range(len(x)) :
sum += int(x[i])
print(sum) |
s063393866 | p02416 | u997158994 | 1441606189 | Python | Python | py | Runtime Error | 0 | 0 | 207 | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
string s;
while(cin>>s,s!="0"){
int sum=0;
for(int i=0;i<s.size();i++) sum+=s[i]-'0';
cout<<sum<<endl;
}
return 0;
} |
s406637803 | p02416 | u994049982 | 1458691067 | Python | Python | py | Runtime Error | 0 | 0 | 73 | while True:
a=input()
if a==0: break
sum([int(i) for i in a]) |
s923159155 | p02416 | u994049982 | 1458691079 | Python | Python | py | Runtime Error | 0 | 0 | 77 | while True:
a=raw_input()
if a==0: break
sum([int(i) for i in a]) |
s555049037 | p02416 | u869301406 | 1459256954 | Python | Python | py | Runtime Error | 0 | 0 | 102 | while True:
num = input()
print = sum(map(int,list(str(num))))
if num == 0:
break |
s624197008 | p02416 | u656153606 | 1463720841 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | while True:
x = list(input())
if x == "0":
break
sum = 0
for i in range(len(x)):
sum += int(x[i])
print(sum) |
s964830202 | p02416 | u656153606 | 1463721062 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | while True:
x = list(input())
if x == 0:
break
sum = 0
for i in range(len(x)):
sum += int(x[i])
print(sum) |
s416281242 | p02416 | u196669489 | 1465280528 | Python | Python | py | Runtime Error | 0 | 0 | 62 | while 1:
x=input()
if x=='0':
break
print sum(map(int,x)) |
s892231869 | p02416 | u498041957 | 1470207907 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | while True:
data = input()
if data[0] == '0':
break
print(sum([int(i) for i in data]))
for str in iter(input, "0"):
print(sum(int(c) for c in str)) |
s445873776 | p02416 | u498041957 | 1470207926 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | while True:
data = input()
if data[0] == '0':
break
print(sum([int(i) for i in data]))
for str in iter(input, "0"):
print(sum(int(c) for c in str)) |
s347763996 | p02416 | u671553883 | 1470207968 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | while True:
data = int(input())
if data == '0':
break
print(sum([str(i) for i in data])) |
s955105183 | p02416 | u671553883 | 1470208044 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | while True:
data = int(input())
if data == '0':
break
print([str[i] for i in data]) |
s862184997 | p02416 | u382316013 | 1470208094 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | while True:
data = int(input())
if data == 0:
break
print(sum([int(i) for i in data])) |
s920147000 | p02416 | u671553883 | 1470208185 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | while True:
data = int(input())
if data == 0:
break
sum == 0
while |
s737574615 | p02416 | u600195957 | 1470285050 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | while True:
a = 0
data = input()
if data == 0:
break
a += data
print(a) |
s064944405 | p02416 | u514745787 | 1471338095 | Python | Python3 | py | Runtime Error | 0 | 0 | 233 | n = int(input())
tarou == 0
hanako == 0
for x in range(n):
if hanako > tarou:
hanako += 3
elif tarou > hanako:
tarou += 3
else:
tarou += 0
hanako += 0
print("{0} {1}".format(tarou, hanako)) |
s184421677 | p02416 | u514745787 | 1471338146 | Python | Python3 | py | Runtime Error | 0 | 0 | 233 | n = int(input())
tarou == 0
hanako == 0
for x in range(n):
if hanako > tarou:
hanako += 3
elif tarou > hanako:
tarou += 3
else:
tarou += 1
hanako += 1
print("{0} {1}".format(tarou, hanako)) |
s004914772 | p02416 | u979507074 | 1476177558 | Python | Python | py | Runtime Error | 0 | 0 | 240 | while 1:
input = raw_input()
num = len(input)
input = int(input)
count = 0
for i in range(num, 0, -1):
value = int(input / 10**(i-1))
input -= value * 10 ** (i-1)
count += value
print(count) |
s294225452 | p02416 | u801346721 | 1477059899 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | while 1:
n = input()
if int(n) == 0:
break
sum = 0
for i in range(n):
sum += int(n[i])
print(sum) |
s397729341 | p02416 | u801346721 | 1477059958 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | while 1:
n = input()
if int(n) == 0:
break
sum = 0
for i in range(n):
sum += int(i)
print(sum) |
s759640542 | p02416 | u941509088 | 1478445407 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | while True:
a = input()
if a == "0":
break
print(sum([int(b) for b in list(a)]) |
s872701089 | p02416 | u086566114 | 1479481966 | Python | Python | py | Runtime Error | 0 | 0 | 116 | while True:
value = [int(x) for x in raw_input().split()]
if value == 0:
break
print(sum(value)) |
s303254453 | p02416 | u216804574 | 1480516258 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | while True:
x = input()
if x == 0:
quit()
print(sum([int(_) for _ in str(x)])) |
s894249083 | p02416 | u144068724 | 1486306157 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | while 1:
x = input()
if x[0] == 0:
break
print (sum(int(i)for i in x
)) |
s035406831 | p02416 | u144068724 | 1486306180 | Python | Python3 | py | Runtime Error | 0 | 0 | 90 | while 1:
x = input()
if x[0] == 0:
break
print (sum(int(i)for i in x)) |
s121662413 | p02416 | u639421643 | 1488281722 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | while(1):
word = input()
if (word = "0"):
break
result = 0
for i in word:
result += int(i)
print(result)
|
s889389503 | p02416 | u213265973 | 1494337300 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | while True:
count = 0
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
for n in num:
count += n
print(count)
|
s124169836 | p02416 | u213265973 | 1494337358 | Python | Python3 | py | Runtime Error | 0 | 0 | 172 | while True:
count = 0
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
for n in num:
count += n
print(count + "\n")
|
s335452355 | p02416 | u213265973 | 1494337444 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | while True:
count = 0
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
for n in num:
count += n
print(count, end ="\n")
|
s820788057 | p02416 | u213265973 | 1494337521 | Python | Python3 | py | Runtime Error | 0 | 0 | 180 | while True:
count = 0
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
for n in num:
count += n
print(count, end ="\n")
|
s338276329 | p02416 | u213265973 | 1494337689 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | while True:
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
print(sum(num))
|
s794549547 | p02416 | u213265973 | 1494337707 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | while True:
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
print(sum(num), end = "\n")
|
s306891721 | p02416 | u213265973 | 1494337880 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | while True:
num = [int(i) for i in input().split("")]
if num[0] == 0:
break
print(sum(num))
|
s526138719 | p02416 | u213265973 | 1494338028 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | while True:
x = input()
if x == "0":
break
num = x.split("")
print(sum(num))
|
s507625809 | p02416 | u213265973 | 1494338089 | Python | Python3 | py | Runtime Error | 0 | 0 | 129 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(str(sum(num)))
|
s585160590 | p02416 | u213265973 | 1494338104 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(sum(num))
|
s413781137 | p02416 | u213265973 | 1494338123 | Python | Python3 | py | Runtime Error | 0 | 0 | 136 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(sum(num), end = "\n")
|
s140761106 | p02416 | u213265973 | 1494338201 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(sum(num))
|
s317043088 | p02416 | u213265973 | 1494338323 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(sum(num))
|
s792958970 | p02416 | u213265973 | 1494338354 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | while True:
x = input()
if x == "0":
break
num = [int(i) for i in x.split("")]
print(sum(num)) |
s783573263 | p02416 | u213265973 | 1494338989 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | while True:
x = input()
if x == "0":
break
ns = []
for n in x:
ns.append(int(n))
print(sum(ns)) |
s868958656 | p02416 | u213265973 | 1494339099 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | while True:
x = input()
if x == "0":
break
ns = []
for n in x:
ns.append(int(n))
print(sum(ns)) |
s137432875 | p02416 | u299798926 | 1499243061 | Python | Python3 | py | Runtime Error | 0 | 0 | 92 | while 1:
x=[ int(i) for i in input()]
if x==0:
break
print(sum(list(x))) |
s515477498 | p02416 | u498511622 | 1500800836 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | while True:
x=input()
if x==0:
break
print(sum(int(z) for z in x)) |
s092556015 | p02416 | u350064373 | 1501135683 | Python | Python3 | py | Runtime Error | 0 | 0 | 180 | list1 = []
while True:
x = str(input())
if x == '0':
break
else:
for i in x:
result += int(x[i])
list1.append(result)
sum(list1) |
s057608722 | p02416 | u350064373 | 1501135795 | Python | Python3 | py | Runtime Error | 0 | 0 | 177 | list1 = []
while True:
x = str(input())
if x == '0':
break
else:
for i in x:
result += int(i)
list1.append(result)
sum(list1) |
s001298528 | p02416 | u853619096 | 1501979471 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | a=0
while True:
z=str(input())
for i in z:
k=int(i)
a+=k
print(a)
a=0
if z == 0 :
break |
s817857721 | p02416 | u853619096 | 1501979529 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | a=0
while True:
z=str(input())
for i in z:
k=int(i)
a+=k
print(a)
a=0
if z == 0 :
break |
s550930560 | p02416 | u853619096 | 1501980819 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | a=0
while True:
z=str(input())
for i in z:
k=int(i)
a+=k
print(a)
a=0
if z == 0 :
break |
s293549318 | p02416 | u853619096 | 1501980838 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | a=0
while True:
z=str(input())
for i in z:
k=int(i)
a+=k
print(a)
a=0
|
s380993572 | p02416 | u853619096 | 1501980963 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | a=0
while True:
z=str(input())
if z == 0 :
break
for i in z:
k=int(i)
a+=k
print(a)
a=0 |
s998089732 | p02416 | u117053676 | 1503137182 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | while True:
input = list(map(int,list(input())))
if input == [0]:
break
else:
print(sum(input)) |
s704596760 | p02416 | u283452598 | 1503195781 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | while True:
x=input()
if x="0":
break
cnt = 0
for i in x:
num = int(i)
cnt += num
print(cnt) |
s763506747 | p02416 | u933096856 | 1505443468 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | while True:
n=sum(map(int, list(input()))
if n == 0:
break
print(n) |
s171753274 | p02416 | u933096856 | 1505443483 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | while True:
n=sum(list(map(int, list(input())))
if n == 0:
break
print(n) |
s989467468 | p02416 | u688488162 | 1506066667 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | while True:
x = input()
if x == 0:
break
sum = 0
while x != 0:
sum += x%10
x = x//10
print(sum) |
s581184572 | p02416 | u692415695 | 1510622046 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | # Belongs to : midandfeed aka asilentvoice
while(1):
n = str(input())
if n:
ans = 0
for x in n:
ans += int(x)
print(ans)
else:
break |
s910323815 | p02416 | u150984829 | 1513532467 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | while 1:
x=sum(map(int,list(input())))
if x==0:break
print(x) |
s153954685 | p02416 | u406002631 | 1513998841 | Python | Python3 | py | Runtime Error | 0 | 0 | 200 | a = []
while True:
n = int(input())
if n == 0:
break
a.append(n)
for i in range(len(a)):
b = list(str(a[i]))
sum = 0
for j in b:
sum += int(j)
print(sum))) |
s086917298 | p02416 | u210512327 | 1516179564 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | while True:
x = input()
if x == 0:
break
length = len(x)
tot = 0
for i in range(length):
tot += int(x[i:i + 1])
print(tot)
|
s745703390 | p02416 | u210512327 | 1516179602 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | while True:
x = input()
if x == 0:
break
length = len(x)
tot = 0
for i in range(length):
tot += int(x[i:i + 1])
print(tot)
|
s895272015 | p02416 | u954858867 | 1519291135 | Python | Python | py | Runtime Error | 0 | 0 | 88 | True:
input = raw_input()
if input == '0': break
print sum(map(int, input))
|
s014990594 | p02416 | u613534067 | 1520322341 | Python | Python3 | py | Runtime Error | 0 | 0 | 68 | while(True):
for i in input():
x += int(i)
print(x)
|
s292776751 | p02416 | u613534067 | 1520322355 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | while(True):
x = 0
for i in input():
x += int(i)
print(x)
|
s400454150 | p02416 | u017435045 | 1523503787 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | while 1:
a = int(input())
if a ==0:
break
a = str(a)
if a =
print([a[i] for i in range(len(a))])
|
s803352856 | p02416 | u017435045 | 1523503805 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | while 1:
a = int(input())
if a ==0:
break
a = str(a)
print([a[i] for i in range(len(a))])
|
s692275764 | p02416 | u017435045 | 1523503815 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | while 1:
a = int(input())
if a ==0:
break
a = str(a)
print([a[i] for i in range(len(a))])
|
s147035861 | p02416 | u017435045 | 1523503834 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | while 1:
a = int(input())
if a ==0:
break
a = str(a)
print([a[i] for i in range(len(a))])
|
s337904921 | p02416 | u017435045 | 1523503864 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | while 1:
a = int(input())
if a ==0:
break
a = str(a)
print([a[i] for i in range(len(a))])
|
s145490372 | p02416 | u908651435 | 1525714420 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | while True:
x=input()
if x==0:
break
print(sum(int(s) for s in range(x)))
|
s373067859 | p02416 | u908651435 | 1525714484 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | while True:
x=input()
if x==0:
break
print(sum(int(s) for s in x))
|
s038015218 | p02416 | u908651435 | 1525714527 | Python | Python3 | py | Runtime Error | 0 | 0 | 87 | while True:
x=input()
if x==0:
break
print(sum(int(s) for s in x))
|
s405208143 | p02416 | u908651435 | 1525850924 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | while True:
n=input()
if n==0:
break
s=list(n)
a=[int(i) for i in s]
print(sum(a))
|
s438601199 | p02416 | u327546577 | 1528143627 | Python | Python3 | py | Runtime Error | 0 | 0 | 48 | print(sum([int(x[i]) for i in range(len(x))]))
|
s890551055 | p02416 | u633068244 | 1393329933 | Python | Python | py | Runtime Error | 0 | 0 | 134 | while True:
x = int(input())
if x == 0:
break
sum = 0
for i in range(len(x))
sum += x[i]
print sum |
s347342625 | p02416 | u633068244 | 1393329946 | Python | Python | py | Runtime Error | 0 | 0 | 135 | while True:
x = int(input())
if x == 0:
break
sum = 0
for i in range(len(x)):
sum += x[i]
print sum |
s554027894 | p02416 | u633068244 | 1393329973 | Python | Python | py | Runtime Error | 0 | 0 | 139 | while True:
x = int(raw_input())
if x == 0:
break
sum = 0
for i in range(len(x)):
sum += x[i]
print sum |
s825039429 | p02416 | u633068244 | 1393330003 | Python | Python | py | Runtime Error | 0 | 0 | 144 | while True:
x = str(raw_input())
if x == 0:
break
sum = 0
for i in range(len(x)):
sum += int(x[i])
print sum |
s547421029 | p02416 | u633068244 | 1393330073 | Python | Python | py | Runtime Error | 0 | 0 | 139 | while True:
x = int(raw_input())
if x == 0:
break
sum = 0
for i in range(len(x)):
sum += x[i]
print sum |
s520536819 | p02416 | u703196441 | 1399558054 | Python | Python | py | Runtime Error | 0 | 0 | 97 | while 1:
n = raw_input()
if x == '0': break;
print reduce(lambda x,y: x+int(y), n, 0) |
s642652942 | p02417 | u539753516 | 1531424922 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | import sys
s = []
for line in sys.stdin:
s.append(line)
s.lower()
for str in list("abcdefghijklmnopqrstuvwxyz"):
print(*[str,":",s.count(str)])
|
s238811716 | p02417 | u539753516 | 1531424958 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | import sys
s = ""
for line in sys.stdin:
s.append(line)
s.lower()
for str in list("abcdefghijklmnopqrstuvwxyz"):
print(*[str,":",s.count(str)])
|
s696797907 | p02417 | u138628845 | 1531454112 | Python | Python3 | py | Runtime Error | 0 | 0 | 486 | # -*- coding: utf-8 -*-
bigALlist = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ')
smoALlist = list('abcdefghijklmnopqrstuvwxyz')
cnt = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
while True:
try:
text = list(input())
for j in range(len(bigALlist)):
for i in text:
if (bigAL... |
s263832795 | p02417 | u222716853 | 1532174178 | Python | Python3 | py | Runtime Error | 20 | 5556 | 345 | alpha = ["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"]
C = []
b = ""
while True:
a = input()
a = a.lower()
b += a
if "." in a :
break
for i in range(len(alpha)):
k = b.count(alpha[i])
C.append(k)
for i in range(len(alpha)):
p... |
s636371575 | p02417 | u222716853 | 1532174305 | Python | Python3 | py | Runtime Error | 0 | 0 | 344 | alpha = ["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"]
C = []
b = ""
while True:
a = input()
a = a.lower()
b += a
if a == "" :
break
for i in range(len(alpha)):
k = b.count(alpha[i])
C.append(k)
for i in range(len(alpha)):
pr... |
s964573269 | p02417 | u222716853 | 1532174558 | Python | Python3 | py | Runtime Error | 0 | 0 | 354 | alpha = ["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"]
C = []
b = ""
while True:
a = input()
a = a.lower()
b += a
if a == 'END_OF_TEXT':
break
for i in range(len(alpha)):
k = b.count(alpha[i])
C.append(k)
for i in range(len(alpha... |
s035033534 | p02417 | u677096240 | 1535679790 | Python | Python3 | py | Runtime Error | 0 | 0 | 246 | from string import ascii_lowercase
table = dict(zip(ascii_lowercase, [0 for _ in range(len(ascii_lowercase))]))
for s in input().split():
for c in s:
table[c.lower()] += 1
for k, v in table.items():
print("{} : {}".format(k, v))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.