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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s932233763 | p03493 | u090769473 | 1580766255 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | s=input().split()
c=0
if s[0]==1:
c+=1
if s[1]==1:
c+=1
if s[2]==1:
c+=1
print(c) |
s288143867 | p03493 | u326626914 | 1580712502 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 187 | n = int(input())
nums = [int(i) for i in input().split()]
ans = 0
while True:
if [i for i in nums if i % 2 == 1]:
break
nums = [i//2 for i in nums]
ans += 1
print(ans) |
s745402836 | p03493 | u519939795 | 1580668304 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a,b,c = map(int, input().split())
a == 1 or a == 0
b == 1 or b == 0
c == 1 or c == 0
print('a + b + c') |
s249879493 | p03493 | u293198424 | 1580626567 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 361 | n,k = map(int,input().split())
a = [int(i) for i in input().split()]
c = list(set(a))
count = 0
if len(c) <= k:
print(0)
else:
while len(c) > k:
minv = 10**3
for i in c:
o = a.count(i)
if minv > o:
minv = o
atai = i
c.remove(atai)... |
s787749878 | p03493 | u519939795 | 1580601596 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 95 | a,b = (int(x) for x in input().split())
if a*b%2 == 0:
print('Even')
else:
print('Odd') |
s185357367 | p03493 | u622349926 | 1580600750 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 311 | n = int(input())
nums = list(map(int, input().split()))
num_dvd = 0
can_devide = True
temp_list = []
while can_devide:
for num in nums:
if num % 2 == 1:
can_devide = False
print(num_dvd)
break
else:
temp_list.append(num // 2)
num_dvd += 1
nums, temp_list = temp_list, [] |
s576680294 | p03493 | u622349926 | 1580599573 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 297 | n = input()
nums = map(int, input().split())
num_dvd = 0
can_devide = True
temp_list = []
while can_devide == True:
for num in nums:
if num % 2 == 1:
print(num_dvd)
can_devide == False
else:
temp_list.append(num // 2)
num_dvd += 1
nums, temp_list = temp_list, [] |
s403061653 | p03493 | u159655606 | 1580448200 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | s = input()
counter = 0
if(s[0]=="1"):
++counter
if(s[1]=="1):
++counter
if(s[2]=="1):
++counter
print(counter)
|
s003482154 | p03493 | u021022333 | 1580445704 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | s = input()
print( sum( [ s[i]=='1' for i in range(len(s)) ] ) ) |
s394966737 | p03493 | u000842852 | 1580229421 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | a = str(input())
print(a.count(1)) |
s362722042 | p03493 | u295043075 | 1580153295 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 218 | N=int(input())
li= list(map(int,input().split()))
Ans=27
ans=0
for i in range(N):
if li[i]%2==1:
Ans=0
break
else:
n=li[i]
ans=0
while n%2==0:
n=n/2
ans= ans+1
if Ans>ans:
Ans =ans
print(Ans) |
s506752003 | p03493 | u295043075 | 1580151330 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 246 | N=int(input())
li= list(map(int,input().split()))
ans=1
minNum=10**9
for i in range(N):
if li[i]%2==1:
ans=0
break
elif li[i] < minNum:
minNum = li[i]
if not ans==0:
n=minNum
ans=0
while n%2==0:
n=n/2
ans= ans+1
print(ans)
|
s183743176 | p03493 | u491152347 | 1580076687 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 94 | a, b = map(int, input().split())
if (a * b) % 2 == 0:
print('Even')
else:
print('Odd') |
s412403182 | p03493 | u524765246 | 1580025433 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 238 | n = int(input())
a = list(map(int, input().split()))
res = True
cnt = 0
while res:
for i in range(n):
if a[i]%2 != 0:
res = False
break
a[i] = a[i]/2
if res:
cnt += 1
print(cnt) |
s005268830 | p03493 | u199290844 | 1580015727 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 328 | def calc(c, cnt):
r = [i % 2 for i in c]
if sum(r) > 0:
print(cnt)
return 1
else:
for k, num in enumerate(c):
c[k] = num / 2
cnt += 1
if calc(c, cnt) == 1:
return 1
N = int(input())
c = [int(i) for i in input().rstrip().split(' ')]
ca... |
s143478681 | p03493 | u665452497 | 1579818796 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a = input()
b = 0
for i in range(3):
if a[i] =='1':
b += 1
print(b) |
s076677122 | p03493 | u422267382 | 1579666432 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s717547908 | p03493 | u422267382 | 1579666388 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | a,b,c=map(int,input().split())
if (a+b+c)=3:
print("3")
elif (a+b+c)=2:
print("2")
elif (a+b+c)=1:
print("1")
else :
print("0")
|
s315805355 | p03493 | u422267382 | 1579665665 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | a,b,c=map(int,input().split())
index=0
if (a+b+c)=3:
print("3")
elif (a+b+c)=2:
print("2")
elif (a+b+c)=1:
print("1")
else :
print("0")
|
s400655438 | p03493 | u510137738 | 1579664932 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s = int(input())
print(s.count(1)) |
s352811307 | p03493 | u890183245 | 1579503306 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a = int(input())
count = 0
for i in range (3):
if str(a)[i] == '1':
count += 1
else:
pass
print(count) |
s954341114 | p03493 | u628341073 | 1579469906 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 411 | n = int(input())
a = []
counter = 0
a = input().split()
success_result = [0] * n
while True:
for index, item in enumerate(a):
if int(item) % 2 == 0:
a[index] = int(item) / 2
success_result[index] = True
else:
continue
if all(success_result):
counter +=... |
s978016618 | p03493 | u628341073 | 1579467320 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 301 | n = int(input())
a = []
count = 0
for i in range(n):
a.append(input())
while True:
for index, item in enumerate(a):
if item % 2 == 0:
a[index] = item / 2
count += 1
else:
break
print(count) |
s566521787 | p03493 | u686036872 | 1579392453 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 135 | a = str(input())
if a=="000":
print(0)
eif a=="001" or "010" or "100":
print(1)
elif a=="111":
print(3)
else:
print(2) |
s997152805 | p03493 | u686036872 | 1579392414 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | a = str(input())
if a==000:
print(0)
eif a==001 or 010 or 100:
print(1)
elif a==111:
print(3)
else:
print(2) |
s648557395 | p03493 | u686036872 | 1579392368 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 128 | a = int(input())
if a==000:
print(0)
eif a==001 or 010 or 100:
print(1)
elif a==111:
print(3)
else:
print(2) |
s290244583 | p03493 | u686036872 | 1579391608 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a, b, c = map(int, input().split(""))
print(a+b+c) |
s279097267 | p03493 | u414458988 | 1579383270 | Python | PyPy3 (2.4.0) | py | Runtime Error | 180 | 38384 | 36 | s = list(int(input()))
print(sum(s)) |
s529258290 | p03493 | u606043821 | 1579145347 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | s = list(input())
a = 0
if s[0] = 1:
a + 1
if s[1] = 1:
a + 1
if s[2] = 1:
a + 1
print(a) |
s648221565 | p03493 | u793061180 | 1579121567 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 242 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
def main():
unko = raw_input()
unko_ans = 0
for i in range(3):
if unko[i] == '1':
unko_ans = unko_ans + 1
print(unko_ans)
if __name__ == "__main__":
main() |
s054894094 | p03493 | u606043821 | 1579096884 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 129 | a = int(input())
b = int(input())
c = int(input())
d = 0
if a = 1:
d + 1
if b = 1:
d + 1
if c = 1:
d + 1
print(d) |
s976958990 | p03493 | u715242152 | 1579060698 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 208 | s_input = string(input())
s_1 = s_input[0:1]
s_2 = s_input[1:2]
s_3 = s_input[2:3]
count = 0
s_list = [s_1, s_2, s_3]
for s in s_list:
if s == "1":
count = count + 1
elif
None
print(count) |
s935815446 | p03493 | u715242152 | 1579059407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 180 | s_input = string(input())
s_list = [s[0], s[1], s[3]]
cnt_up = 0
for s in s_list
if s == "1":
cnt_up = cnt_up +1
else:
None
print(cnt_up)
|
s146428695 | p03493 | u449347548 | 1579058579 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | rint(input().count("1")) |
s965301989 | p03493 | u527591854 | 1579044649 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | print(input())print(input().count('1')) |
s087241985 | p03493 | u670942818 | 1579042438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | s1, s2, s3 = map(str, input().split())
list = [s1, s2, s3]
bidama_num = 0
for item in list:
if item == "1":
bidama_num += 1
print(str(bidama_num))
|
s648470162 | p03493 | u670942818 | 1579042310 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | s1, s2, s3 = map(int, input().split())
list = [s1, s2, s3]
bidama_num = 0
for item in list:
if item == 1:
bidama_num += 1
|
s539984444 | p03493 | u578647703 | 1578880459 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3316 | 171 | Si = int(input())
S1 = int(str(Si[-3]))
S2 = int(str(Si[-2]))
S3 = int(str(Si[-1]))
result = 0
if S1:
result += 1
if S2:
result += 1
if S3:
result += 1
print(result) |
s362654344 | p03493 | u962451849 | 1578779353 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 308 | n = int(input())
listA = list(map(int, input().split()))
count = 0
isBroken = False
while True:
for i in range(n):
if listA[i] % 2 == 0:
listA[i] //= 2
else:
isBroken = True
break
if isBroken:
break
else:
count += 1
print(count) |
s225554553 | p03493 | u962451849 | 1578779306 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 308 | n = int(input())
listA = list(map(int, input().split()))
count = 0
isBroken = False
while True:
for i in range(n):
if listA[i] % 2 == 0:
listA[i] //= 2
else:
isBroken = True
break
if isBroken:
break
else:
count += 1
print(count) |
s312922063 | p03493 | u620128827 | 1578755871 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 288 | N = int(input())
A = list(map(int,input().split()))
step = 0
while True:
flag = False
for i range(N):
if A[i] % 2 ==0:
A[i] = A[i] / 2
else:
flag =True
break
if flag:
break
step +=1
print(step) |
s436370972 | p03493 | u620128827 | 1578755379 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 280 | N = int(input())
A = list(map(int, input().split()))
step = 0
while True:
flag = False
for i in range(N):
if A[i] %2 == 0:
A[i] = A[i]/2
else:
flag = True
break
if flag:
break
step +=1
print(step) |
s933938531 | p03493 | u747220349 | 1578557031 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 129 | n,k=map(int,input().split())
l=list(map(int,input().split()))
f=[l.count(i) for i in range(1,n+1)]
f.sort()
print(sum(f[0:n-k]))
|
s298846842 | p03493 | u747220349 | 1578555822 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 126 | n,k=map(int,input().split())
l=list(map(int,input().split()))
f=[l.count(i) for i in range(0,n)]
f.sort()
print(sum(f[0:n-k])) |
s838855986 | p03493 | u178432859 | 1578551814 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | s = input()
print(s.coumt("1")) |
s511096514 | p03493 | u747220349 | 1578550061 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s270504224 | p03493 | u887924592 | 1578365267 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a, b, c=map(int,input().split())
print(a+b+c) |
s925114995 | p03493 | u574590381 | 1578346973 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 166 | #1,2,3の番号がついた3マスに,それぞれ"0"か"1"がある."1"のマスはいくつあるか
s = input()
a = [int(c) for c in s]
print (a[1]+a[2]+a[3]) |
s571969160 | p03493 | u574590381 | 1578346812 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | #1,2,3の番号がついた3マスに,それぞれ"0"か"1"がある."1"のマスはいくつあるか
res = sum(list(map(int(s))))
print (res)
|
s631244273 | p03493 | u574590381 | 1578346478 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 178 | #1,2,3の番号がついた3マスに,それぞれ"0"か"1"がある."1"のマスはいくつあるか
s1,s2,s3 = map(int,input().split())
res = (s1 + s2 + s3)
print (res)
|
s526646837 | p03493 | u574590381 | 1578346439 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 178 | #1,2,3の番号がついた3マスに,それぞれ"0"か"1"がある."1"のマスはいくつあるか
s1,s2,s3 = a = map(int,input().split())
res = (s1+s2+s3)
print (res)
|
s022222936 | p03493 | u851648783 | 1578290752 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | s = input()
count = 0
if s[0] == '1':
count += 1
if s[1] == '1':
count += 1
if s[2] == '1':
count += 1
return count |
s967374765 | p03493 | u282412844 | 1578135260 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 53 | print(len(filter(lambda s: s == '1', list(input())))) |
s941524275 | p03493 | u619128059 | 1578117113 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | s = input()
a = [int(c) for c in a]
total = sum(a)
print(total) |
s577698109 | p03493 | u724152875 | 1577849751 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | x=map(int,input().split())
s1=x//100
s2=x//10%10
s3=x%10
print(s1+s2+s3) |
s440941561 | p03493 | u724152875 | 1577849542 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 50 | s1,s2,s3=map(int,input().split())
print(s1+s2+s3) |
s786464508 | p03493 | u831081653 | 1577848266 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 269 | n = int(input())
a = list(map(int, input().split()))
cnt = 0
flag = True
while flag:
ans = []
for i in a:
if i%2 == 1:
flag = False
else:
ans.append(i/2)
if len(ans) == n:
cnt += 1
a = ans
print(cnt) |
s203990993 | p03493 | u831081653 | 1577847685 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 287 | n = int(input())
a = list(map(int, input().split()))
cnt = 0
flag = True
while flag:
ans = []
for i in a:
if i%2 == 1:
flag = False
break
else:
ans.append(i/2)
if len(ans) == n:
cnt += 1
a = ans
print(cnt) |
s375374564 | p03493 | u831081653 | 1577744191 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 253 | n = int(input())
a = list(map(int, input().split()))
count = 0
flag = 1
while flag == 1:
b = list(map(lambda x: x % 2, a))
if b.count(1) == 0:
a = list(map(lambda x: x / 2, a))
count += 1
else:
flag = 0
print(count) |
s650380069 | p03493 | u265118937 | 1577554757 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 34 | s = int(input())
print(s.count(1)) |
s297706972 | p03493 | u265118937 | 1577554383 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | s, t, u = map(int, input().split())
x = 0
if s % 1 == 1:
x = x + 1
if t % 1 == 1:
x = x + 1
if u % 1 == 1:
x = x + 1
print(x) |
s354014953 | p03493 | u265118937 | 1577554258 | Python | Python (3.4.3) | py | Runtime Error | 23 | 2940 | 113 | s = input()
x = 0
t = s % 100
u = s % 10
v = s % 1
if t == 1:
x++
if u == 1:
x++
if v == 1:
x++
print(x) |
s596441146 | p03493 | u642682703 | 1577468043 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 272 | num = input()
evens = [int(x) for x in input().split()]
itr = 0
flg = True
while flg:
evens = list(map(lambda x: (x/2), evens))
is_evens = list(map(lambda x: x.is_integer(), evens))
if not all(is_evens):
flg = False
break
itr+=1
print(evens)
print(itr) |
s455836537 | p03493 | u487594898 | 1577424016 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 198 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(input())
a = map(int,input().split())
ans = min(map(how_many_times_divisible, a))
print (ans) |
s523765629 | p03493 | u288786530 | 1577403310 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | n = int(input())
a = list(map(int, input().split()))
l = []
for i in a:
s = 0
while i % 2 == 0:
i = i/2
s += 1
l.append(s)
print(min(l))
|
s273923976 | p03493 | u487594898 | 1577400254 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | s=list(input())
count = 0
for i in range(2):
if s[i] == 1 :
count +=1
print(count()) |
s561308948 | p03493 | u487594898 | 1577399814 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | s=list(str,input())
count = 0
for i in range(2):
if s[i] == 1 :
count = count+1
print(count) |
s447863578 | p03493 | u487594898 | 1577399682 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | s=list(str,input())
count = 0
for i in range(2):
if s[i] == 1 :
count +=1
break
print(count()) |
s881121712 | p03493 | u648679668 | 1577324799 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 191 | n = int(input())
a = list(map(int, input().split()))
result = 0
les = 0
while les == 0:
for i in range(n):
les += a[i] % 2
a[i] = a[i]/2
result += 1
result -= 1
print(result) |
s329164110 | p03493 | u648679668 | 1577324739 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 193 | n = int(input())
a = list(map(float, input().split()))
result = 0
les = 0
while les == 0:
for i in range(n):
les += a[i] % 2
a[i] = a[i]/2
result += 1
result -= 1
print(result) |
s579949666 | p03493 | u853064660 | 1577316627 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | s1,s2,s3=map(str,input().split())
# c=str(input())
a=s1+s2+s3
b=0
for i in a:
b=b+int(i)
print(b) |
s297778551 | p03493 | u073549161 | 1577294929 | Python | PyPy3 (2.4.0) | py | Runtime Error | 192 | 39664 | 77 | s = input()
res = 0
for i in len(s):
if s[i] == "1":
res+= 1
print(res) |
s946511027 | p03493 | u046961553 | 1577284342 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 375 | s = input()
num_list = list(map(int, input().split()))
flg_break = True
while flg_break:
count = 0
num_tmp_list = []
for n in num_list:
print(n)
if n % 2 != 0:
flg_break = False
break
else:
num_tmp = n / 2
num_tmp_list.append(num_tmp)... |
s406725537 | p03493 | u153419200 | 1577210616 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 26 | a=int(input())
a.count(1)
|
s612221204 | p03493 | u153419200 | 1577210537 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 32 | a=int(input())
print(a.count(1)) |
s230955542 | p03493 | u666856144 | 1577074370 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 204 | 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
|
s546478169 | p03493 | u666856144 | 1577074332 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 208 | 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
|
s985358688 | p03493 | u666856144 | 1577074214 | 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)) |
s895041969 | p03493 | u666856144 | 1577074036 | 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)) |
s813655387 | p03493 | u666856144 | 1577073692 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 225 | n = input()
a = list(map(int, input().split()))
for i in range(n):
count = 0
while True:
a[i] *= 1/2
count++
if a[i]%2==1 || a[i] = 0:
a[i] = count
break
print(min(a))
|
s768454730 | p03493 | u666856144 | 1577073523 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 170 | n = input()
a = list(map(int, input().split()))
for i in range(n):
while True:
a[i] *= 1/2
if a[i]%2!=0 || a[i] = 0:
break
print(min(a))
|
s709794453 | p03493 | u666856144 | 1577073438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | n = input()
a = list(map(int, input().split()))
for i in range(n):
while True:
a[i] *= 1/2
if a[i]%2!=0 && a[i] < 0:
break
print(min(a))
|
s179634151 | p03493 | u666856144 | 1577073400 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 170 | n = input()
a = list(map(int, input().split()))
for i in range(n):
while True:
a[i] *= 1/2
if a[i]%2!=0 && a[i] > 0:
break
print(min(a))
|
s818168980 | p03493 | u666856144 | 1577073302 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | n = input()
a = list(map(int, input().split()))
for i in range(n):
while True:
a[i] = a[i]/2
if a[i]%2!=0:
break
print(min(a))
|
s829347126 | p03493 | u666856144 | 1577073250 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | n = input()
a = list(map(int, input().split()))
for i in range(n):
while True:
a[i] = a[i]/2
if a[i]%2==1:
break
print(min(a))
|
s286779143 | p03493 | u019053283 | 1577058092 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count("1)) |
s979190207 | p03493 | u781105394 | 1577041685 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38640 | 173 | n=input()
mx=0
for a in map(int,input().split()):
i=0
if a%2!=0: break
while a%2==0:
i+=1
mx=i
a/=2
if mx<i:
mx=i
print(mx)
|
s859777153 | p03493 | u764773675 | 1576986070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | line = input()
line = list(line)
count = 0
for i in line:
if i == "1":
count += 1
print(count)
|
s710543813 | p03493 | u553919982 | 1576980815 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 194 | n = int(input())
l = list(map(int,input().split()))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1 |
s726977805 | p03493 | u553919982 | 1576979907 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 187 | n = int(input())
l = list(map(int,input().split()))
count = 0
while True:
for i in n:
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1 |
s441540061 | p03493 | u506587641 | 1576907337 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s = str(input())
print(s.count(1)) |
s726463612 | p03493 | u553919982 | 1576849844 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 194 | n = int(input())
l = list(map(int ,input().split(" ")))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1 |
s303197747 | p03493 | u553919982 | 1576849474 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 179 | n = int(input())
l = list(map(int ,input().split(" ")))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1 |
s592398408 | p03493 | u553919982 | 1576849281 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 178 | n = input()
l = list(map(int ,input().split(" ")))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1 |
s161178201 | p03493 | u553919982 | 1576849110 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 218 | n = int(input())
l=list(map(int ,input().split(" ")))
count=0
while True:
for i in range(n):
if l[i]%2==0:
l[i]=l[i]//2
else:
print(count)
exit()
count+=1 |
s755457878 | p03493 | u553919982 | 1576848862 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 194 | n = input()
l = list(map(int,input().split(" ")))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
exit()
count += 1
|
s028851049 | p03493 | u553919982 | 1576848800 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 193 | n = input()
l = list(map(int,input().split(" ")))
count = 0
while True:
for i in range(n):
if l[i]%2 == 0:
l[i] = l[i]//2
else:
print(count)
break
count += 1
|
s512003924 | p03493 | u877428733 | 1576626264 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 181 | ans = 10**9
N = int(input())
A = list(map(int,input().split()))
for i in A:
p = 0
while i % 2 == 0:
i //= 2
p += 1
if p < ans:
ans = p
print(ans) |
s914145045 | p03493 | u627283301 | 1576595063 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 231 | #input
N=int(input())
An=list(int(i) for i in input().split())
x=0
point=0
flag=True
while(flag):
x=0
for x in range(N):
if An[x]%2==0:
An[x]/=2
else:
flag=False
break
point+=1
print(point)
|
s830237596 | p03493 | u249218227 | 1576528216 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | li = list(input())
counter = int(li[0) + int(li[1]) + int(li[2])
print(counter) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.