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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s877983617 | p03493 | u494811189 | 1555823296 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | a,b,c =map(int,input().split())
print(a+b+c) |
s964393970 | p03493 | u494811189 | 1555823146 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 44 | a,b,c =map(int,input().split())
print(a+b+c) |
s626126758 | p03493 | u494811189 | 1555823095 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b,c =map(intinput().split("s"))
print(a+b+c) |
s774572333 | p03493 | u979362546 | 1555801695 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | s = input()
ans = 0
if s[0]=="1":
ans += 1
elif s[1]=="1":
ans += 1
else s[2]=="1":
ans += 1
print(ans) |
s514102226 | p03493 | u979362546 | 1555801586 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | s = input()
ans = 0
if s[0]=="1":
ans += 1
if s[1]=="1":
ans += 1
if s[2]=="1"
ans += 1
print(ans) |
s008970699 | p03493 | u979362546 | 1555801520 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | s = input()
ans = 0
if s[0]=="1":
ans = += 1
if s[1]=="1":
ans = += 1
if s[2]=="1"
ans += 1
print(ans) |
s439152581 | p03493 | u137722467 | 1555697683 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 182 | num = int(input())
a = list(map(int, input().split()))
count = 0
for i in a:
c = 0
while i != 0 and i % 2 == 0:
i /= 2
c += 1
if c >= count:
count = c
print(count) |
s020724492 | p03493 | u194894739 | 1555621135 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 37 | s = input()
print(s.count(1))
|
s842160485 | p03493 | u194894739 | 1555620205 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | a, b, c = map(str,input().split())
d = 0
if a == 1:
d += 1
if b == 1:
d += 1
if c == 1:
d += 1
print(d)
|
s504561543 | p03493 | u545998622 | 1555548835 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 176 | N = int(input())
A = list(map(int, input().split()))
ans = 0
while all(a % 2 == 0 for a in A):
ans += 1
for i in range(N):
A[i] = int(A[i] / 2)
print(ans) |
s533247967 | p03493 | u331464808 | 1555472935 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | a = list(input())
res = 0
for i in range(len(a)+1):
if a[i] ==1:
res +=1
print(res) |
s995759849 | p03493 | u075628913 | 1555296705 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 188 | n=int(input())
data=list(map(int, input().split()))
count = 0
while(True):
data = list(filter(lambda x: x%2==0, data))
if len(data) < n:
print(count)
break
else:
count+=1 |
s889071053 | p03493 | u610473220 | 1555193447 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 225 | N = input()
A = list(input())
intA = [int(s) for s in A]
j = 1
c = 0
while j == 1 :
for i in range(len(intA)):
if(intA[i]%2==1):
j = 0
else:
intA[i] = intA[i]//2
c += 1
print(c) |
s492807475 | p03493 | u610473220 | 1555187631 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 133 | s1, s2, s3 = map(int,input().split())
i = 0
if(s1 == 1):
i = i + 1
if(s2 == 1):
i = i + 1
if(s3 == 1):
i = i + 1
print(i) |
s484678367 | p03493 | u610473220 | 1555187574 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | s1, s2, s3 = map(int,input().split())
i = 0
if(s1 == 1):
i =+ 1
if(s2 == 1):
i =+ 1
if(s3 == 1):
i =+ 1
print(i) |
s436690702 | p03493 | u145889196 | 1555079684 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 167 | N=int(input())
A=list(map(int,input().split()))
ans=0
for i,j in enumerate(A):
if j%2!=0:
print(ans)
exit()
else:
A[i]=j/2
count+=1 |
s091070334 | p03493 | u145889196 | 1555078048 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 242 | N=int(input)
A=list(int(input().split()))
ans=0
flag=True
if flag==True:
for i in range(N)
if A[i]%2==0:
A[i]=A[i]/2
else:
flag=False
break
ans+=1
else:
break
print(ans) |
s716287235 | p03493 | u725250509 | 1555018529 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 364 | sam_num = int(input()) # 4
num = list(map(int, input().split())) # [12, 6, 24, 44]
count = 0
flag = 0
while True:
for i in range(sam_num):
# print(num[i])
if num[i] % 2 != 0: # odd
flag = 1
break
num[i] = num[i] / 2
# print(num[i])
if flag == 1:
... |
s479392029 | p03493 | u903959844 | 1555013570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 122 | a = int(input())
x = str(a)
counter = 0
for i in range(3):
if int(x[-1-i]) == 1:
counter += 1
print(counter) |
s705729800 | p03493 | u894694822 | 1554950797 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | l=list(map(int, input()))
print(l.count(1) |
s602067116 | p03493 | u167681750 | 1554821519 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 179 | n = int(input())
a = list(map(int, input().split()))
a_joined = 0
for i in range(n):
a_joined = a_joined | a[i]
a_joined = a_joined & -(a_joined)
print(len(bin(a_joined)) - 3) |
s019995347 | p03493 | u167681750 | 1554821323 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | n = int(input())
a = list(map(int, input().split()))
a_joined = 0
for i in range(n):
a_joined = a_joined | a[i]
print(len(bin(a_joined)) - 3)
|
s549673483 | p03493 | u167681750 | 1554821293 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 145 | n = int(input())
a = list(map(int, input().split()))
a_joined = 0
for i in range(n):
a_joined = a_joined | a[i]
print(len(bin(a_joined)) - 3) |
s717570139 | p03493 | u347920118 | 1554729881 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | x,y,z= map(int,input().split())
print("x+y+z") |
s678032814 | p03493 | u288040231 | 1554720079 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 29 | S=input()
print(s.count('1')) |
s426709596 | p03493 | u028489522 | 1554618153 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 255 | s = input()
li = input().split()
t = 0
li2 = []
for i in li:
t = 0
while True:
if int(i) % 2 == 0:
i = int(i) / 2
t += 1
else:
li2.append(t)
break
li2.sort()
ans = li2[0]
print(ans) |
s170997942 | p03493 | u028489522 | 1554617530 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 262 | s = input()
li = input().split()
ans = 1
t = 0
li2 = []
while True:
for i in li:
if int(i) % 2 == 0:
li2.append(int(i)/2)
else:
t = 1
if t == 1:
break
else:
ans += 1
li = li2
print(ans) |
s645116803 | p03493 | u146028196 | 1554591445 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 28 | s = input()
print(s.count()) |
s750505244 | p03493 | u146028196 | 1554590711 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 169 | def main():
a, b, c = map(int, input.split())
list = [a, b, c]
count = 1
for i in list:
if i == 1:
count += 1
print(count)
main() |
s968793899 | p03493 | u001687078 | 1554413126 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 189 | import collections
n, k = map(int, input().split())
a = map(int, input().split())
c = collections.Counter(a)
if len(c) <= k:
print(0)
else:
c = c.most_common()
print(sum(c[:k-1][0])) |
s891070174 | p03493 | u470542271 | 1554359795 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 159 | N = input()
A = input().split()
A = [int(a) for a in A]
counter = 0
while sum([a % 2 for a in A]) == 0:
A = [a / 2 for a in A]
counter += 1
print(counter) |
s504868687 | p03493 | u844760966 | 1554338633 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 52 | a, b, c = map(int, input().split())
print(a + b + c) |
s989772350 | p03493 | u129978636 | 1554326367 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 230 | n=int(input())
a=list(map(int, input().split()))
count=0
def h(L):
for i in range(len(L)):
if L[i] % 2 != 0:
return(1)
return(0)
while h(a) == 0:
for j in range(n):
a[j]=a[j]/2
count=count+1
print(count)
|
s028129651 | p03493 | u911206742 | 1554275999 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 58 | s1, s2, s3 = map(int, input().split())
print(s1 + s2 + s3) |
s427401899 | p03493 | u996542290 | 1554269171 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 172 | N=int(input())
A_list=list(map(int, input().split()))
ans=0
for i in A_list:
cnt=0
while i%2==0:
i/=2
cnt+=1
ans=min(cnt, ans)
print(ans) |
s514201924 | p03493 | u217940964 | 1554231266 | Python | Python (3.4.3) | py | Runtime Error | 152 | 12392 | 218 | import numpy as np
n = int(input())
a = np.array(list(map(int, input().split())))
ans_count = 0
while(1):
count = len(np.where(a % 2 == 1)[0])
if count > 0:
break
a = a / 2
ans_count += 1
print(ans_count) |
s509774738 | p03493 | u217940964 | 1554231170 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 215 | import numpy as np
n = int(input())
a = np.array(list(map(int, input().split())))
ans_count = 0
while:
count = len(np.where(a % 2 == 1)[0])
if count > 0:
break
a = a / 2
ans_count += 1
print(ans_count) |
s999927097 | p03493 | u217940964 | 1554231136 | Python | Python (3.4.3) | py | Runtime Error | 286 | 18652 | 107 | import numpy as np
n = int(input())
a = np.array(map(int, input().split()))
ans_count = 0
print(ans_count) |
s528566654 | p03493 | u959651981 | 1554219246 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 23 | print(input.count('1')) |
s156983679 | p03493 | u959651981 | 1554175825 | Python | PyPy3 (2.4.0) | py | Runtime Error | 185 | 38640 | 87 | a, b = map(int, input().split())
if (a*b) % 2:
print("Odd")
else:
print("Even") |
s954118627 | p03493 | u959651981 | 1554175726 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 87 | a, b = map(int, input().split())
if (a*b) % 2:
print("Odd")
else:
print("Even") |
s774182096 | p03493 | u513900925 | 1554165237 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 253 | import sys
import os
f = open("C:/Users/user/Documents/python/ant/import.txt","r")
sys.stdin = f
# -*- coding: utf-8 -*-
n = int(input())
if n%3 == 0:
if n == 111:
print 3
else
print 0
elif n%3 ==1:
print 1
else
print 2 |
s058840522 | p03493 | u513900925 | 1554165189 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | n = int(input())
if n%3 == 0:
if n == 111:
print 3
else
print 0
elif n%3 ==1:
print 1
else
print 2 |
s488211323 | p03493 | u612481724 | 1554083205 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 121 | # -*- coding: utf-8 -*-
# 入力
a = list(str(input))
# String to Int
num = [int(s) for s in a]
# Output
print(sum(num))
|
s294760090 | p03493 | u612481724 | 1554083160 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | a = list(str(input))
num = [int(s) for s in a]
print(sum(num))
|
s763462029 | p03493 | u005570675 | 1554056134 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 237 | def gu(n,a):
ans=[0]*n
for i in range(len(a)):
ii=a[i]
while True:
if ii%2==0:
ans[i]+=1
ii=ii/2
else:
break
return min(ans)
n=int(input())
a=list(map(int,input().split()))
print(gu(n,a)) |
s575666939 | p03493 | u005570675 | 1554055976 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 238 | def gu(n,a):
ans=[0]*n
for i in range(len(a)):
ii=a[i]
while True:
if ii%2==0:
ans[i]+=1
ii=ii/2
else:
break
return ans.min()
n=int(input())
a=list(map(int,input().split()))
print(gu(n,a)) |
s657625670 | p03493 | u005570675 | 1554055591 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 222 | def gu(n,a):
ans=[0]*n
for i in range(len(a)):
ii=a[i]
while True:
if ii%2==0:
ans[i]+=1
else:
break
return ans.min()
n=int(input())
a=list(map(int,input().split()))
print(gu(n,a)) |
s937866383 | p03493 | u005570675 | 1554055352 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 444 | def gu(n,a):
ans=[0]*n
for i in len(len(a)):
ii=a[i]
while True:
if ii%2==0:
ans[i]+=1
else:
break
return ans.min()
n=int(input())
a=list(map(int,input().split()))
print(gu(n,a))
def gu(n,a):
ans=[0]*n
for i in range(len(a)):
ii=a[i]
while True:
if ii%2==0:
... |
s111784399 | p03493 | u812867074 | 1553961900 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | a=int(input())
print(a.count("1")) |
s378133523 | p03493 | u812867074 | 1553961425 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | a=int(input())
print(a.count(1))
|
s849931723 | p03493 | u625963200 | 1553951164 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 263 | N=int(input())
tmp=input()
tmp=tmp.split(' ')
a=[]
for i in range(N):
a.append(int(tmp[i]))
if all(x % 2 == 0 for x in a) == False:
print(0)
else:
count=0
while all(x % 2 == 0 for x in a) == True:
a=[x/2 for x in a]
count+=1
print(count) |
s197775792 | p03493 | u625963200 | 1553948847 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | a,b,c = map(int, input().split())
print(a+b+c) |
s760804631 | p03493 | u915355756 | 1553909877 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 363 | import sys
sys.setrecursionlimit(10**6)
N = int(input())
data = list(map(int,input().split()))
res = 0
while (True):
exist_odd: bool = False
for i in range(N):
if data[i]%2 == 1:
exist_odd = True
if exist_odd == True:
break
for i in range(N):
data[i] = data[... |
s416610416 | p03493 | u569431252 | 1553905130 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 76 | N = input()
a = int(N[1])
b = int(N[2])
c = int(N[3])
d == a+b+c
print(d)
|
s036037738 | p03493 | u569431252 | 1553905002 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 69 | N = input()
a = int(N[1])
b = int(N[2])
c = int(N[3])
print(a+b+c)
|
s751436114 | p03493 | u569431252 | 1553904330 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 50 | a,b,c = map(int, input().split())
print(a+b+c)
|
s972462422 | p03493 | u489124637 | 1553903688 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | n = int(input())
print(n.count("1")) |
s305954206 | p03493 | u489124637 | 1553903601 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | n = int(input())
print(n , count("1")) |
s328536599 | p03493 | u489124637 | 1553903303 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | a, b, c,= map(int, input().split())
n = 0
if a = 1:
n = n + 1
elif b = 1:
n = n + 1
elif c = 1:
n = n + 1
print(n)
|
s372150319 | p03493 | u582580413 | 1553482595 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 48 | a, b, c = map(int, input().split())
print(a+b+c) |
s965228819 | p03493 | u582580413 | 1553482427 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a,b,c = (int(i) for i in input().split())
print(a+b+c) |
s778192259 | p03493 | u582580413 | 1553482370 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | a,b,c = map(int(i) for i in input().split())
print(a+b+c) |
s581689748 | p03493 | u582580413 | 1553482187 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b,c = map(int, input().split())
print(a+b+c) |
s070072075 | p03493 | u582580413 | 1553482141 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a,b,c = (int, input().split())
print(a+b+c) |
s212842756 | p03493 | u304630225 | 1553461656 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(input()).count("1") |
s065478473 | p03493 | u458608788 | 1553287357 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s650275791 | p03493 | u374051158 | 1553079209 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 206 | N = int(input())
A = list(map(int, input().split()))
cnt = 0
while(True):
if all(a % 2 == 0 for a in A):
A = list(map(lambda x: x / 2, A))
cnt += 1
else: break
print(cnt) |
s968154596 | p03493 | u374051158 | 1553079097 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 153 | cnt = 0
while(True):
if all(a % 2 == 0 for a in A):
A = list(map(lambda x: x / 2, A))
cnt += 1
else: break
print(cnt) |
s660811303 | p03493 | u900688325 | 1553031643 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 184 | sss = input()
masu = list(sss)
counter = 0
if(masu[0] == 1):
counter += 1
elif (masu[1] == 1):
counter += 1
elif (masu[2] == 1):
counter += 1
print(counter) |
s316879858 | p03493 | u204358360 | 1552850512 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 285 | N = input()
A = list(map(int,input().split()))
#2の倍数かどうかを調べる関数 引数:4→True,5→False
def isAllEVEN(A):
return (not (False in (list(map(lambda x:x%2==0,A)))))
i = 0
while(isAllEVEN(A)):
A = list(map(lambda x:x/2,A))
i++;
print(i)
|
s765895633 | p03493 | u204358360 | 1552850458 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 282 | N = input()
A = list(map(int,input().split()))
#2の倍数かどうかを調べる関数 引数:4→True,5→False
def isAllEVEN(A):
return (not (False in (list(map(lambda x:x%2==0,A)))))
i = 0
while(isAllEVEN(A)):
A = list(map(lambda x:x/2,A))
i++;
print(i)
|
s389946254 | p03493 | u848654125 | 1552640943 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 308 | def count2(number):
count = 0
while True:
if number % 2 == 0:
count = count + 1
number = number / 2
else:
break
return count
N = int(input())
A_list = list(map(int, input().split()))
answer = min(list(map(count2, A_list)))
print(answer) |
s945756091 | p03493 | u358791207 | 1552623739 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 96 | a = int(input())
count = 0
for i in range(len(a)):
if a[i] == 1:
count += 1
print(count) |
s368074494 | p03493 | u346424924 | 1552420376 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 375 | n = input()
s = list(map(int, input().split()))
c = 0
while True:
exist = False
#print(s)
for i in range(len(s)):
#print(i)
if s[i]%2 != 0:
exist = True
if exist:
print(c)
break
for i in rang... |
s122870974 | p03493 | u292810930 | 1552257958 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 229 | N=int(input())
A=list(map(int, input().split()))
B=A[:]
i=0
while i < N:
if A[i] % 2 == 0:
A[i] = A[i]//2
if i == N - 1:
B = A[:]
i = -1
i += 1
else:
break
print(B)
|
s199147950 | p03493 | u292810930 | 1552257903 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 248 | N=int(input())
A=list(map(int, input().split()))
B=A[:]
i=0
while i < N:
if A[i] % 2 == 0:
A[i] = A[i]//2
print(A[i])
if i == N - 1:
B = A[:]
i = -1
i += 1
else:
break
print(B) |
s245340637 | p03493 | u292810930 | 1552257835 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 248 | N=int(input())
A=list(map(int, input().split()))
B=A[:]
i=0
while i < N:
if A[i] % 2 == 0:
A[i] = A[i]//2
print(A[i])
if i == N - 1:
B = A[:]
i = -1
i += 1
else:
break
print(B) |
s538384695 | p03493 | u544050502 | 1552251820 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 291 | a=int(input())
b=list(map(int,input().split()))
counter=0
exist_odd=False
while True:
count=0
while count<=a-1:
if b[count]%2==1:
exist_odd=True
break
else:
b[count]=b[count]//2
count+=1
if exist_odd:
break
else:
counter+=1
print(counter)
|
s073935303 | p03493 | u292810930 | 1552191656 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 101 | list = list(input())
for i in len(list):
n = 0:
if int(list[i]) ==1:
n += 1
print(n)
|
s562423292 | p03493 | u292810930 | 1552191336 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | list = list(input())
for i in len(list):
n = 0:
if int(list[i]) ==1:
n += 1
print(n)
|
s761030858 | p03493 | u292810930 | 1552191245 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | list = list(input())
for i in len(list):
n = 0:
if int(list[i]) ==1:
n += 1
print(n)
|
s474193234 | p03493 | u292810930 | 1552191201 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | list = list(input())
for i in len(list):
n = 0:
if int(list[i]) ==1:
n =+ 1
print(n)
|
s292096556 | p03493 | u292810930 | 1552191167 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 96 | list = list(input())
for i in len(list):
n = 0:
if list[i] ==1:
n =+ 1
print(n)
|
s047439640 | p03493 | u258436671 | 1552076263 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 31 | s = input()
pirnt(s.count('1')) |
s021800555 | p03493 | u595893956 | 1552069775 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input.count('1')) |
s928352017 | p03493 | u933722792 | 1552056774 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 311 | N = int(input())
A = [int(i) for i in input().split(',')]
is_all_even = True
counter = 0
while True:
for i, v in enumerate(A):
if v % 2 == 0:
A[i] = A[i] // 2
else:
is_all_even = False
if is_all_even:
counter += 1
else:
break
print(counter)
|
s796426519 | p03493 | u933722792 | 1552056667 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 351 |
A = map(int, input().split(','))
N = int(input())
A = [int(i) for i in input().split(',')]
is_all_even = True
counter = 0
while True:
for i in range(len(A)):
if A[i] % 2 == 0:
A[i] = int(A[i] // 2)
else:
is_all_even = False
if is_all_even:
counter += 1
else... |
s469470104 | p03493 | u933722792 | 1552056399 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 315 | N = int(input())
A = [int(i) for i in input().split(',')]
is_all_even = True
counter = 0
while True:
for i in range(len(A)):
if A[i] % 2 == 0:
A[i] = int(A[i] / 2)
else:
is_all_even = False
if is_all_even:
counter += 1
else:
break
print(counter)
|
s553179975 | p03493 | u933722792 | 1552054912 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 310 | N = int(input())
A = list(map(int, input().split(',')))
is_all_odd = True
counter = 0
while True:
for i in range(len(A)):
if A[i] % 2 == 0:
A[i] = int(A[i] / 2)
else:
is_all_odd = False
if is_all_odd:
counter += 1
else:
break
print(counter)
|
s963525867 | p03493 | u040986872 | 1551989881 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 268 | def check(a,cnt):
b = [int(x)%2 for x in a]
if 1 in b:
return 0,cnt
else :
cnt +=1
b = [int(x)/2 for x in a]
return 1,cnt
N = input()
a = input().split()
cnt = 0
while(1):
m,cnt = check(a,cnt)
if m == 0:
print(cnt)
else :
continue |
s964560285 | p03493 | u815666840 | 1551957550 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 250 | n = input()
a = list(map(int, input().split()))
flag = 0
for t in range(40):
for i,j in enumerate(a):
if j%2 == 0:
a[i] = j/2
else:
flag = 1
break
if flag == 1:
break
print(t)
|
s283224713 | p03493 | u815666840 | 1551870323 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 261 | import math
n = input()
a = list(map(int, input().split()))
flag = 0
for t in range(40):
for i,j in enumerate(a):
if j%2 == 0:
a[i] = j/2
else:
flag = 1
break
if flag == 1:
break
print(t) |
s733065404 | p03493 | u815666840 | 1551870091 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 262 | import math
n = input()
a = list(map(int, input().split()))
flag = 0
for t in range(15):
for i,j in enumerate(a):
if j%2 == 0:
a[i] = j/2
else:
flag = 1
break
if flag == 1:
break
print(t)
|
s395411078 | p03493 | u815666840 | 1551869631 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 264 | import math
n = input()
a = list(map(int, input().split()))
flag = 0
for t in range(1000):
for i,j in enumerate(a):
if j%2 == 0:
a[i] = j/2
else:
flag = 1
break
if flag == 1:
break
print(t)
|
s171930079 | p03493 | u242393873 | 1551671642 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | n = input()
a = list(map(int, input().split()))
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1)
print(round(ans)) |
s981898889 | p03493 | u242393873 | 1551671347 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 160 | import math
n = input()
a = list(map(int, input().split()))
ans = float("inf")
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1"))
print(round(ans)) |
s908047393 | p03493 | u242393873 | 1551671234 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | import math
n = input()
a = list(map(int, input().split()))
ans = float("inf")
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1)
print(round(ans)) |
s490053920 | p03493 | u242393873 | 1551670824 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 165 | import math
n = input()
a = list(map(int, input().split()))
ans = float("inf")
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1)
print(round(ans))
|
s882678957 | p03493 | u242393873 | 1551670741 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | import math
n = input()
a = list(map(int, input().split()))
ans = float("inf")
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1)
print(round(ans)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.