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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s940565759 | p03493 | u571832343 | 1597627480 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8796 | 79 | s=input()
count=0
for i for range(3):
if s[i]=='1':
count+=1
print(count) |
s824845456 | p03493 | u063596417 | 1597593312 | Python | PyPy3 (7.3.0) | py | Runtime Error | 101 | 74712 | 260 | from collections import Counter
n, k = map(int, input().split())
a = [int(an) for an in input().split()]
ans = 0
set_a = set(a)
num_of_types = len(set_a)
if num_of_types > k:
cnt = Counter(a)
ans = sum(sorted(cnt.values())[: num_of_types - k])
print(ans) |
s715097181 | p03493 | u063596417 | 1597592004 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9180 | 225 | n, k = map(int, input().split())
a = [int(an) for an in input().split()]
ans = 0
set_a = set(a)
num_of_types = len(set_a)
if num_of_types > k:
ans = sum(sorted([a.count(num) for num in set_a])[:num_of_types - k])
print(ans) |
s340078173 | p03493 | u063596417 | 1597519939 | Python | PyPy3 (7.3.0) | py | Runtime Error | 112 | 74416 | 248 | n = int(input())
a = map(int, input().split())
ans = -1
isEven = True
while isEven:
list_tmp = []
for an in a:
if an % 2 ==0:
list_tmp.append(an / 2)
else:
isEven = False
break;
a = list_tmp
ans += 1
print(ans)
|
s892653900 | p03493 | u063596417 | 1597519752 | Python | PyPy3 (7.3.0) | py | Runtime Error | 100 | 74744 | 263 | import sys
n = int(input())
a = map(int, input().split())
ans = 0
isEven = True
while isEven:
list_tmp = []
for an in a:
if an % 2 ==0:
list_tmp.append(an / 2)
else:
isEven = False
break;
a = list_tmp
ans += 1
print(ans - 1) |
s226772683 | p03493 | u752774573 | 1597197065 | Python | PyPy3 (7.3.0) | py | Runtime Error | 113 | 74792 | 324 | from bisect import bisect_right
N,K=list(map(int, input().split()))
A=list(map(int, input().split()))
A.sort()
S=set(A)
S=list(S)
B=[]
def bisectsearch_right(L, a):
i = bisect_right(L, a)
return(i)
for i in S:
a=A[0]
j = bisect_right(A,a)
B+=[j]
del A[:j]
B.sort()
# print(B)
C=B[:len(S)-K]
print(sum(... |
s239601813 | p03493 | u321871080 | 1597182524 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9040 | 205 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(raw_input())
a = map(int, raw_input().split())
ans = min(map(how_many_times_divisible, a))
print ans |
s202048410 | p03493 | u321871080 | 1597182483 | Python | PyPy2 (7.3.0) | py | Runtime Error | 370 | 84896 | 205 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(raw_input())
a = map(int, raw_input().split())
ans = min(map(how_many_times_divisible, a))
print ans |
s671546014 | p03493 | u321871080 | 1597182422 | Python | PyPy3 (7.3.0) | py | Runtime Error | 202 | 74568 | 264 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
def main():
n = int(input())
a = map(int, input().split())
ans = min(map(how_many_times_divisible, a))
print(ans)
if __name__ == "__main__":
main() |
s684870085 | p03493 | u321871080 | 1597182281 | Python | PyPy2 (7.3.0) | py | Runtime Error | 403 | 84892 | 205 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(raw_input())
a = map(int, raw_input().split())
ans = min(map(how_many_times_divisible, a))
print ans |
s108775425 | p03493 | u321871080 | 1597182261 | Python | PyPy3 (7.3.0) | py | Runtime Error | 117 | 74612 | 205 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(raw_input())
a = map(int, raw_input().split())
ans = min(map(how_many_times_divisible, a))
print ans |
s000254719 | p03493 | u321871080 | 1597181748 | Python | PyPy3 (7.3.0) | py | Runtime Error | 95 | 68716 | 181 | num_count = input()
nums = map(int, input().split(' '))
result = 0
while True:
for num in nums:
if num % 2 != 0:
print(result)
exit
result+=1 |
s382788823 | p03493 | u321871080 | 1597181665 | Python | PyPy3 (7.3.0) | py | Runtime Error | 158 | 74200 | 183 | num_count = input()
nums = map(int, input().split(' '))
result = 0
while True:
for num in nums:
if num % 2 != 0:
print(result)
return
result+=1 |
s301320629 | p03493 | u694973107 | 1597065140 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9008 | 92 | S1, S2, S3 = map(str,input().split())
input_sum = str(S1+S2+S3)
print(input_sum.count("1")) |
s322894766 | p03493 | u079699418 | 1597057776 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9076 | 108 | n,a,b=map(int, input().split())
out = 0
for i in (n,a,b):
if i == 1:
out = out +1
print(out) |
s973568072 | p03493 | u389530753 | 1597021572 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8924 | 25 | print(input(),count('1')) |
s566340198 | p03493 | u389530753 | 1597021519 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9008 | 24 | print(input(),count('1') |
s142072082 | p03493 | u389530753 | 1597021472 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9012 | 24 | print(input(),count("1") |
s711930589 | p03493 | u750389519 | 1596664672 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8652 | 28 | s=input()
print(s.count("1") |
s784358977 | p03493 | u750389519 | 1596664655 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8884 | 33 | s=int(input())
print(s.count("1") |
s397153682 | p03493 | u914883924 | 1596641720 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9028 | 130 | N=int(input())
an=list(map(int,input().split()))
n=0
for i in range(N):
if an[i]%2==0:
an[i]//2
n+=1
print(n)
|
s608255704 | p03493 | u794831235 | 1596609959 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9008 | 157 | N=int(input())
a=[int(x) for x in input().split()]
b=a
t=-1
s=0
while s==0:
for i in range(N):
if b[i]%2!=0:
s=1
b[i]=b[i]/2
t=t+1
print(t) |
s626504349 | p03493 | u794831235 | 1596609929 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9092 | 158 | N=int(input())
a=[int(x) for x in input().split()]
b=a
t=-1
s=0
while s==0:
for i in range(N):
if b[i]%2!=0:
s=1
b[i]=b[i]/2
t=t+1
print(t)
|
s938752256 | p03493 | u794831235 | 1596609688 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9096 | 163 | N=int(input())
a=[int(x) for x in input().split()]
b=a
t=-1
s=0
while s==0:
for i in range(N):
if b[i]%2!=0:
s=1
b[i]=b[i]/2
t=t+1
print(t)
|
s697224812 | p03493 | u794831235 | 1596609636 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9112 | 187 | N=int(input())
a=[int(x) for x in input().split()]
b=a
t=-1
s=0
while s==0:
for i in range(N):
if b[i]%2!=0:
s=1
b[i]=b[i]/2
print(b)
t=t+1
print(t)
print(t)
|
s088226190 | p03493 | u794831235 | 1596608110 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9028 | 50 | x=input()
X=list('{}'.format(x))
A=sum(X)
print(A) |
s733166314 | p03493 | u086897054 | 1596412207 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8920 | 127 | str1 = input()
s_list = list(str1)
str_len = len(str1)
n = 0
for i in range(str_len):
if == s_list[i]:
n = n + 1
print(n) |
s202808968 | p03493 | u729679908 | 1596407374 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8928 | 17 | print(count("1")) |
s577355256 | p03493 | u911263794 | 1596387477 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8852 | 69 | x = str(input())
a =int(x[0])
b=int(x[1]9
c=int(x[2])
print(a+b+c)
|
s922271087 | p03493 | u911263794 | 1596387263 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9156 | 46 | a,b,c = map(int,input().split())
print(a+b+c) |
s961756563 | p03493 | u911263794 | 1596387180 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9140 | 66 | s1,s2,s3 = map(int,input().split())
check = s1+s2+s3
print(check) |
s917699562 | p03493 | u911263794 | 1596387153 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8900 | 69 | s1,s2,s3 = map(int,input().split())
check = s1+s2+s3
if print(check) |
s015173491 | p03493 | u939790872 | 1596306623 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9080 | 29 | a = input()
print(a.count(1)) |
s099049505 | p03493 | u061140245 | 1596117951 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9116 | 146 | n=int(input())
a=list(map(int,input().split()))
ans=0
while all(i%2==0 for i in a):
ans+=1
for j in range(n):
a[j]//=2
print(ans) |
s693438715 | p03493 | u061140245 | 1596117612 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8988 | 380 | n = input()
a_list = input().split(" ")
def count_divide(number, max_cnt=-1):
count = 0
mod = -1
while mod != 1:
q, mod = divmod(number, 2)
if mod == 1:
return count
count += 1
if max_cnt != -1 and count >= max_cnt:
return max_cnt
number = q
return count
result = -1
for a in a_... |
s698400342 | p03493 | u061140245 | 1596117118 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9068 | 380 | n = input()
a_list = input().split(" ")
def count_divide(number, max_cnt=-1):
count = 0
mod = -1
while mod != 1:
q, mod = divmod(number, 2)
if mod == 1:
return count
count += 1
if max_cnt != -1 and count >= max_cnt:
return max_cnt
number = q
return count
result = -1
for a in a_... |
s318849760 | p03493 | u061140245 | 1596116660 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9068 | 377 | n = input()
a_list = input().split(" ")
def count_divide(number, max_cnt=0):
count = 0
mod = -1
while mod != 1:
q, mod = divmod(number, 2)
if mod == 1:
return count
count += 1
if max_cnt != 0 and count >= max_cnt:
return max_cnt
number = q
return count
result = 0
for a in a_lis... |
s943084777 | p03493 | u556594202 | 1595810393 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8792 | 89 | a,b,c = input().split()
i=0
if a==1:
i++
if b==1:
i++
if c==1:
i++
print(i)
|
s655020173 | p03493 | u306950978 | 1595734660 | Python | Python (3.8.2) | py | Runtime Error | 33 | 8752 | 33 | s=input()
print(s.count(“1”)) |
s658535977 | p03493 | u533796619 | 1595535944 | Python | PyPy3 (7.3.0) | py | Runtime Error | 244 | 74112 | 153 | S = input()
ans = 0
if S[0] == "1":
ans += 1
if S[1] == "1":
ans += 1
if S[2] == "1":
ans += 1
print(ans) |
s474213726 | p03493 | u533796619 | 1595535764 | Python | PyPy3 (7.3.0) | py | Runtime Error | 86 | 68612 | 153 | S = input()
ans = 0
if S[0] == "1":
ans += 1
if S[1] == "1":
ans += 1
if S[2] == "1":
ans += 1
print(ans) |
s538228659 | p03493 | u321071346 | 1595519759 | Python | Python (3.8.2) | py | Runtime Error | 113 | 26932 | 213 | import numpy as np
n = int(input())
a_list = np.array(list(map(int, input().split())))
counter = 0
while True:
if np.sum(a_list % 2) > 0:
break
counter += 1
a_list = a_list / 2
print(counter)
|
s782268111 | p03493 | u321071346 | 1595519702 | Python | Python (3.8.2) | py | Runtime Error | 109 | 26992 | 229 | import numpy as np
n = int(input())
a_list = np.array(list(map(int, input().split())))
status = True
counter = 0
while status:
if np.sum(a_list % 2) > 0:
break
counter += 1
a_list = a_list / 2
print(counter)
|
s843687159 | p03493 | u321071346 | 1595518796 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9044 | 301 | n = int(input())
a_list = list(map(int, input().split()))
status = True
execute = 0
while status:
for i in range(n):
if a_list[i] % 2 == 1:
status = False
break
else:
a_list[i] = a_list[i] / 2
if status:
execute += 1
print(execute)
|
s865626962 | p03493 | u321071346 | 1595518533 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9000 | 311 | n = int(input())
a_list = list(map(int, input().split()))
status = True
execute = 0
while status:
for i in range(len(a_list)):
if a_list[i] % 2 == 1:
status = False
break
else:
a_list[i] = a_list[i] / 2
if status:
execute += 1
print(execute)
|
s150651128 | p03493 | u788260274 | 1595467953 | Python | Python (3.8.2) | py | Runtime Error | 19 | 8888 | 376 | from sys import stdin
n = stdin.readline().rstrip()
a = [int(x) for x in stdin.readline().rstrip().split()]
count = 0
b = a[0]
while True:
if b % 2 == 1: break
b = b//2
count = count + 1
minc = count
for b in a[1:]:
count = 0
while True:
if b % 2 == 1: break
b = b//2
count... |
s123359935 | p03493 | u123942276 | 1595455325 | Python | Python (3.8.2) | py | Runtime Error | 112 | 27064 | 182 | import numpy as np
N = int(input())
A = np.array(list(map(int, input().split())))
count = 0
while True:
if np.sum(A%2) > 0:
break
count +=1
A = A//2
print(count)
|
s026214663 | p03493 | u123942276 | 1595326859 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9092 | 50 | A, B, C = int(input())
print(int(A)+int(B)+int(C)) |
s922227386 | p03493 | u261023401 | 1595214452 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9048 | 269 | N = input()
Nums = list(map(int, input().split()))
max_divide_count = 0
while True:
count_num_tmp = 0
for num in Nums:
if num % 2 != 0:
break
if count_num_tmp != len(Nums):
break
max_divide_count += 1
print(max_divide_count) |
s955117683 | p03493 | u915763824 | 1594914994 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8936 | 264 | _ = input()
num_list = list(map(int, input().split()))
count = 0
while(True):
is_even_list = [False if num % 2 else True for num in num_list]
if False in is_even_list:
break
num_list = list(map(lambda num: num / 2, num_list))
count += 1
print(count) |
s578669095 | p03493 | u790816087 | 1594790287 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9004 | 73 | s = input()
for x in s:
if x != '0':
count = count + 1
print(count) |
s971982340 | p03493 | u790816087 | 1594790192 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9084 | 61 | s = input()
for x in s:
if x != '0':
count = count + 1
|
s496071622 | p03493 | u790816087 | 1594790046 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9000 | 88 | s = input()
count = 0
for x in len(s):
if x != '0':
count = count + 1
print(count) |
s186568098 | p03493 | u865086293 | 1594773009 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9004 | 123 | li = list(map(input().split()))
count = 0
for i in range(3):
if li[i] == "1":
count = count + 1
print(count) |
s226521334 | p03493 | u865086293 | 1594772060 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8996 | 121 | li = stdin.readline().rstrip()
count = 0
for i in range(3):
if li[i] == "1":
count = count + 1
print(count) |
s082311596 | p03493 | u865086293 | 1594771538 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9056 | 121 | li = stdin.readline().rstrip()
count = 0
for i in range(2):
if li[i] == "1":
count = count + 1
print(count) |
s598554462 | p03493 | u865086293 | 1594771399 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9040 | 126 | li = list(str,map(input().split()))
count = 0
for i in range(3):
if li[i] == "1":
count = count + 1
print(count) |
s354499094 | p03493 | u865086293 | 1594771201 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9028 | 126 | li = list(str.map(input().split()))
count = 0
for i in range(3):
if li[i] == "1":
count = count + 1
print(count) |
s512088587 | p03493 | u865086293 | 1594771095 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9032 | 122 | li = list(map(input().split()))
count = 0
for i in range(3):
if li[i] == "1":
count = count + 1
print(count) |
s691419333 | p03493 | u865086293 | 1594770972 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8996 | 122 | li = list(map(input().split()))
count = 0
for i in range(3):
if li[i] == "a":
count = count + 1
print(count) |
s323580453 | p03493 | u951145045 | 1594607461 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8956 | 33 | nums=input()
print(nums.count(1)) |
s720582406 | p03493 | u637289184 | 1594419218 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9020 | 208 | N = int(input())
A = list(map(int, input().split()))
c=0
while True:
for i in range(N):
if A[i] % 2 !=0:
print(c)
exit()
else:
A[i] = A[i] / 2
c=c+1 |
s868139120 | p03493 | u637289184 | 1594417749 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9012 | 260 | N = int(input())
A = list(map(int, input().split()))
c=0
while(True):
b=0
for i in A:
if i%2==0:
b=b+1
if b==N:
for j in range(N):
A[j]=A[j]/2
c=c+1
if b!=N:
break
print(c) |
s694320856 | p03493 | u637289184 | 1594417686 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8924 | 263 | N = int(input())
A = list(map(int, input().split()))
c=0
while(True):
b=0
for i in A:
if i%2==0:
b=b+1
if b==N:
for j in range(N):
A[j]=A[j]/2
c=c+1
if b!=N:
break
print(c)
|
s576298033 | p03493 | u637289184 | 1594417542 | Python | Python (3.8.2) | py | Runtime Error | 2206 | 9092 | 283 | N = int(input())
A=[]
for i in range(N):
a=int(input())
A.append(a)
c=0
while(True):
b=0
for i in A:
if i%2==0:
b=b+1
if b==N:
for j in range(N):
A[j]=A[j]/2
c=c+1
if b!=N:
break
print(c) |
s481762199 | p03493 | u637289184 | 1594417393 | Python | Python (3.8.2) | py | Runtime Error | 2205 | 8976 | 275 | N = int(input())
A=[]
for i in range(N):
A.append(int(input()))
c=0
while(True):
b=0
for i in A:
if i%2==0:
b=b+1
if b==N:
for j in range(N):
A[j]=A[j]/2
c=c+1
if b!=N:
break
print(c) |
s261509153 | p03493 | u528661669 | 1594315807 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9084 | 68 | for int(j) in input():
if j == 1:
Count +=1
print(Count) |
s292303599 | p03493 | u544165032 | 1594059415 | Python | Python (3.8.2) | py | Runtime Error | 32 | 8912 | 40 | s = int(input())
a = s.count(1)
print(a) |
s049162037 | p03493 | u962423738 | 1593902211 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9028 | 32 | n=int(input())
print(n.count(1)) |
s384994015 | p03493 | u502789019 | 1593881761 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9092 | 94 | str(s)=input()
count = 0
for v in range(1,4):
if 1 in s[v]:
count +=1
print(count) |
s459377142 | p03493 | u396241815 | 1593608202 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8948 | 184 | # 3桁の整数の入力
s = input('')
i = 0
# 1から3桁目までの繰り返し
for j in range(3):
# 1桁目のチェック
if s[j] == '1':
i += 1
else:
i += 0
print(i) |
s302599011 | p03493 | u396241815 | 1593608083 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8948 | 192 | # 3桁の整数の入力
s = input('')
i = 0
# 1から3桁目までの繰り返し
for j in range(3):
# 1桁目のチェック
if s[j] == '1':
i += 1
else:
i += 0
print(i)
|
s175634548 | p03493 | u215643129 | 1593577653 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8928 | 23 | print(input().count(1)) |
s261468397 | p03493 | u215643129 | 1593577292 | Python | Python (3.8.2) | py | Runtime Error | 19 | 9144 | 63 | s1,s2,s3 = map(int, input().split())
x = s1 + s2 +s3
print(x) |
s525390554 | p03493 | u931769295 | 1593532425 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9132 | 229 | N = int(input())
A = list(map(int,input().split()))
count = 0
K = True
while K:
for i in range(N):
if A[i] % 2 ==1:
K = False
A[i] / 2
if not K:
break
count += 1
print(count) |
s555926040 | p03493 | u177775074 | 1593467384 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8916 | 74 | s = input()
cout = 0
for a in s:
if a == "1"
cout += 1
print(cout)
|
s142159490 | p03493 | u964665290 | 1593402292 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8964 | 52 | marbles = input()
num = marbles.count(1)
print(num)
|
s287207497 | p03493 | u514612296 | 1593314830 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9108 | 270 | n = input()
number_list = map(int, input().split())
count = 1
even = True
while even:
for i, a in enumerate(number_list):
if a % 2 != 0:
even = False
else:
number_list[i] = a / 2
if even:
count += 1
print(count)
|
s126160854 | p03493 | u514612296 | 1593314751 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8812 | 269 | n = input()
number_list = map(int, input().split())
count = 0
even = True
while even:
for i, a in enumerate(number_list):
if a % 2 != 0:
even = False
else:
number_list[i] = a / 2
if even:
count += 1
print(count) |
s330524274 | p03493 | u514612296 | 1593279514 | Python | Python (3.8.2) | py | Runtime Error | 22 | 8936 | 48 | a = map(int, input().split())
print(a.count(1))
|
s181687994 | p03493 | u492910842 | 1593271006 | Python | PyPy3 (7.3.0) | py | Runtime Error | 90 | 74756 | 34 | s=list(input())
print(sum(int(s))) |
s971131434 | p03493 | u492910842 | 1593270956 | Python | PyPy3 (7.3.0) | py | Runtime Error | 87 | 74320 | 29 | s=list(input())
print(sum(s)) |
s346946206 | p03493 | u520298992 | 1593058326 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8948 | 26 | print(intput().count("1")) |
s320971561 | p03493 | u169138653 | 1593052351 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9112 | 174 | n=int(input())
a=list(map(int,input().split()))
ans=0
while 1:
for i in range(n):
if a[i]%2:
print(ans)
exit()
a[i]//=2
ans+=1 |
s942108940 | p03493 | u163421511 | 1592965350 | Python | Python (3.8.2) | py | Runtime Error | 31 | 8912 | 109 | a = input()
count = 0
count += 1 if a[0] == 1
count += 1 if a[1] == 1
count += 2 if a[2] ==1
print(count)
|
s498060944 | p03493 | u496619173 | 1592953013 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9104 | 157 | n, k = map(int, input().split())
A = list(map(int, input().split()))
B = []
for i in set(A):
B.append(A.count(i))
print(sum(sorted(B)[:len(set(A)) - k])) |
s808019793 | p03493 | u496619173 | 1592952952 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9156 | 161 | n, k = map(int, input().split())
A = list(map(int, input().split()))
C = set(A);
B = []
for i in C:
B.append(C.count(i))
print(sum(sorted(B)[:len(C) - k]))
|
s043915443 | p03493 | u496619173 | 1592952883 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9040 | 153 | n, k = map(int, input().split())
A = set(list(map(int, input().split())))
B = []
for i in A:
B.append(A.count(i))
print(sum(sorted(B)[:len(A) - k]))
|
s126404606 | p03493 | u090406054 | 1592864824 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9404 | 87 | s=list(input())
from collections import Counter
s_count=s.Counter()
print(s_count['1']) |
s437341731 | p03493 | u081714930 | 1592612665 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9108 | 156 | n=input()
n_list=list(map(int,input().split()))
counter=0
while all(i%2==0 for i in n_list):
n_list=[i/2 for i in n_list]
counter+=1
print(counter) |
s518624400 | p03493 | u736546944 | 1592451283 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | s = int(input())
if s == 0:
print(0)
elif s == 1, 10, 100:
print(1)
elif s == 11, 101, 110:
print(2)
else:
print(3) |
s619093076 | p03493 | u895445743 | 1592277014 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38256 | 134 | n = input()
a = list(map(int, input().split()))
cnt = 0
while all(i%2==0 for i in a):
a = [i/2 for i in a]
cnt += 1
print(cnt) |
s889307305 | p03493 | u842388336 | 1592179855 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | a, b, c = int(input[0]), int(input[1]), int(input[2])
print(a+b+c) |
s948338801 | p03493 | u842388336 | 1592179779 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b,c = map(int, input().split())
print(a+b+c) |
s632665592 | p03493 | u736577709 | 1592163561 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count('1') |
s532729910 | p03493 | u109098812 | 1592001739 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count("1") |
s450131905 | p03493 | u109098812 | 1592000985 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 207 | a, b, c = input()
count = 1
if a == "1":
count = count +1
else:
count = count
if b == "1":
count = count +1
else:
count = count
if c == "1":
count = count +1
else:
count = count
print(count) |
s697229102 | p03493 | u068538925 | 1591982236 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | in = str(input())
s0 = int(in[0])
s1 = int(in[1])
s2 = int(in[2])
print(s0+s1+s2) |
s930710471 | p03493 | u582614471 | 1591941928 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | n = "".join(map(int,input().split()))
print(sum(n)) |
s394891185 | p03493 | u626228246 | 1591927435 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 30 | S = input()
print(S.count("1") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.