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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s727400413 | p03494 | u028260664 | 1573860453 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 263 | def f():
_ = int(input())
nums = np.array(list(map(int, input().split())))
# nums = [int(x) for x in input().split()]
c = 0
while True:
if any(nums % 2 == 1):
break
c += 1
nums = nums / 2
print(c)
f()
|
s516880160 | p03494 | u161776322 | 1573849895 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 355 |
a = input()
b = input()
count = int(a)
num = map(int, b.split())
division = True
result = 0
while division:
div = 0
for i in range(count):
if num[i]%2 == 0:
div += 1
if div == count:
for j in range(count):
num.append(num.pop(0)/2)
result += 1
else:
... |
s807727865 | p03494 | u161776322 | 1573849763 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 354 | a = input()
b = input()
count = int(a)
num = map(int, b.split())
division = True
result = 0
while division:
div = 0
for i in range(count):
if num[i]%2 == 0:
div += 1
if div == count:
for j in range(count):
num.append(num.pop(0)/2)
result += 1
else:
... |
s638431783 | p03494 | u161776322 | 1573849543 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 358 |
a = input()
b = input()
count = int(a)
num = map(int, b.split())
division = True
result = 0
while division:
div = 0
for i in range(count):
if num[i]%2 == 0:
div += 1
if div == count:
for j in range(count):
num.append(num.pop(0)/2)
result += 1
else:
... |
s026793716 | p03494 | u161776322 | 1573849049 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 352 |
a = input()
b = input()
count = int(a)
num = map(int, b.split())
division = True
result = 0
while division:
div = 0
for i in range(count):
if num[i]%2 == 0:
div += 1
if div == 3:
for j in range(count):
num.append(num.pop(0)/2)
result += 1
else:
... |
s456856570 | p03494 | u815878613 | 1573421506 | Python | Python (3.4.3) | py | Runtime Error | 149 | 12504 | 396 | import sys
import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def main():
N = int(readline())
A = list(map(int, readline().split()))
A = np.array(A)
cnt = 0
for _ in range(10**9):
A, F = np.divmod(A, 2)
if ... |
s964602796 | p03494 | u923659712 | 1573336697 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 162 | n=int(input())
k=100000000000000000000000000000000000000000
for i in range(n):
j=0
a=int(input())
while a%2==0:
a=a/2
j+=1
k=min(j,k)
print(k)
|
s156362227 | p03494 | u923659712 | 1573336628 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 159 | n=int(input())
k=100000000000000000000000000000000000000000
for i in range(n):
j=0
a=int(input())
while a%2==0:
a=a/2
j+=1
min(j,k)
print(k) |
s034429323 | p03494 | u409417260 | 1573099022 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 269 | def checkCanHalf(ary):
for item in ary:
if(item % 2 != 0):
return False
return True
n = range(int(input()))
ary = map(int, input().split())
cnt = 0
while checkCanHalf(ary) == True:
for i in range(len(ary)):
ary[i] = ary[i]/2
cnt += 1
print(cnt) |
s247561152 | p03494 | u633548583 | 1572903400 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | input()
A=list(map(int,input().split())
ans=0
while all(a%2==0 for a in A):
A=[a/2 for a in A]
ans+=1
print(ans) |
s297784847 | p03494 | u735069283 | 1572877400 | Python | Python (3.4.3) | py | Runtime Error | 149 | 12380 | 133 | import numpy as np
input()
x=np.array(input().split(),dttype=np.int32)
ans=0
while (x%2==0).all():
x//2
ans +=1
print(answer) |
s231270130 | p03494 | u122231433 | 1572453926 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 187 | n = int(input())
a = map(int,input().Split(' '))
count = 0;
while true:
for i in a :
if i%2!=0:
break
else :
a[i] = a%i
count++
print(str(count)) |
s459595013 | p03494 | u122231433 | 1572453756 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 192 | n = int(input())
a = map(int,input())
count = 0;
while true:
for i in a :
if i%2!=0:
break
else :
a[i] = a%i
count++
print(str(count))
|
s250225780 | p03494 | u840310460 | 1572379228 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38256 | 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 |
s586588142 | p03494 | u672882146 | 1572326106 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 180 | N = int(input())
box = list(map(int, input().split()))
count = 0
for i in range(N):
if box%2 ==0:
box/=2
count ++
elif box%2 !=0:
break
print(count) |
s611511757 | p03494 | u542294769 | 1572116674 | Python | Python (3.4.3) | py | Runtime Error | 150 | 12496 | 250 | import numpy as np
a = int(input())
b = np.array([int(x) for x in input().split()])
if(a!=len(b)):
print('the array size is different')
else:
c = b%2
d = b/2
while sum(c)==0:
COUNTS = int(1)
COUNTS += 1
c = d%2
d = d/2
print(COUNTS)
|
s687302174 | p03494 | u585616158 | 1571783093 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 137 | n = int(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) |
s284206941 | p03494 | u585616158 | 1571782792 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 214 | 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) |
s961523530 | p03494 | u099300051 | 1571762819 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 207 | n=int(input())
X = list(map(int,input().split()))
h = Ture
count = 0
while h:
for i in range(n):
if X[i] %2 == 0 :
X[i] = X[i]/2
else:
h = False
break
count+=1
print(count-1) |
s852484369 | p03494 | u886655280 | 1571559459 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 671 | # https://atcoder.jp/contests/abc081/tasks/abc081_b
N = int(input())
A = list(map(int, input().split()))
# リスト内の要素に奇数が含まれているかどうかを判断する
# 戻り値:Boolean
def judge_hasOdd(A):
hasOdd = False
for a in A:
if a % 2 == 0:
continue
else:
hasOdd = True
break
return ... |
s580224411 | p03494 | u034782764 | 1571425922 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 195 |
def how_many_times_divisibles(j):
counter=0
while j%2==0:
j/=2
counter+=1
return counter
n=int(input())
a=map(int,input().split())
ans=min(map(how_many_times_dibishibles,a))
print(ans) |
s709992428 | p03494 | u617203831 | 1570754342 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 115 | input()
A=list(map(int,input().split()))
while all(a%2==0 for a in A):
A=[a/2 for a in A]
ans+=1
print(ans) |
s390934246 | p03494 | u225388820 | 1570229268 | Python | Python (3.4.3) | py | Runtime Error | 147 | 12396 | 91 | import numpy as np
n=int(input())
c=list(map(int, input().split()))
print(np.gcd.reduce(c)) |
s198342618 | p03494 | u225388820 | 1570229215 | Python | Python (3.4.3) | py | Runtime Error | 153 | 12416 | 76 | import numpy as np
c=list(map(int, input().split()))
print(np.gcd.reduce(c)) |
s068520014 | p03494 | u511421299 | 1570127142 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 270 | n = input()
a = list(map(int, input().split()))
flg = True
break_flg = False
total = 0
while True:
for i, b in enumerate(a):
if b%2 == 0:
a[i] = b/2
else:
break_flg = True
breake
if break_flg :
break
else:
total += 1
print(total)
|
s991588038 | p03494 | u753682919 | 1570066278 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 113 | n=input()
A=list(map(int,input().split())
c=0
while all(a%2==0 for a in A):
A=[a/2 for a in A]
c+=1
print(c)
|
s646137372 | p03494 | u118199700 | 1570059634 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 217 | N = input()
a = list(map(int, input().split()))
import sys
while True:
for i in range(N):
if a[i] % 2 == 0:
a[i] = a[i]/2
else:
print(t)
sys.exit()
t += 1
|
s908378118 | p03494 | u811535236 | 1569873099 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 260 | num=int(input())
fig=list(map(int,input().split()))
Even_flag=0
count=0
while Even_flag=0:
for i in range(num):
if fig[num]%2==1:
Even_flag==1:
break
else:
fig[num]=fing[num]/2
if i==num-1:
count+=1
print(count) |
s298327646 | p03494 | u811535236 | 1569872974 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 240 | num=int(input())
fig=list(map(int,input().split()))
Even_flag=0
count=0
while Even_flag=0:
for i in range(num):
if fig[num]%2==1:
Even_flag==1:
break
else:
fig[num]=fing[num]/2
count+=1
print(count)
|
s825035998 | p03494 | u526459074 | 1569792428 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3056 | 211 | n = input()
a = list(map(int, input().split()))
# n = 3
# a = [10, 11, 12]
ans =0
product =1
for i in a:
product = product *i
while product%2 ==0:
product = product/2
ans = ans + 1
print(ans) |
s661319967 | p03494 | u080108339 | 1569788070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 176 | n = int(input())
a=input()
count = []
for i in range(n):
count.append(0)
while True:
if a[i]%2 == 0 :
a[i] = a[i]/2
count[i] += 1
else:
break
print(max(count)) |
s250839627 | p03494 | u080108339 | 1569786086 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 156 | n = int(input())
a=input()
count = []
for i in n:
count[i] = 0
while True:
if a[i]%2=0 :
a[i] = a[i]/2
count[i] += 1
else:
break
max(count) |
s727295269 | p03494 | u080108339 | 1569785990 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | n = int(input())
a=input()
count = []
for i in n:
while True:
if a[i]%2=0 :
a[i] = a[i]/2
count[i] += 1
else:
break
max(count) |
s611158665 | p03494 | u649424057 | 1569455759 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | data = input()
for i in data:
if i%2 != 0:
break |
s187371537 | p03494 | u181195295 | 1569158472 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 137 | N = int(input())
num = list(map(int,input().split()))
ans=0
while all(a%2==0 for a in A):
A = [a/2 for a in A]
ans+=1
print(ans)
|
s214978588 | p03494 | u181195295 | 1569158426 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 130 | N = int(input())
num = map(int,input().split())
ans=0
while all(a%2==0 for a in A):
A = [a/2 for a in A]
ans+=1
print(ans) |
s577083541 | p03494 | u474925961 | 1568817810 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 202 | import sys
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
N=int(input())
A=list(map(int,input().split()))
while all(a%2==0 for a in A):
A=[a/2 for a in A]
ans+=1
print(ans)
|
s881407567 | p03494 | u742851263 | 1568769184 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 129 | a=int(input())
b,c,d=map(int,input().split())
s=0
while b%2==0 and c%2==0 and d%2==0:
b=b/2
c=c/2
d=d/2
s+=1
print(s) |
s968362722 | p03494 | u742851263 | 1568768844 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | a=int(input())
b,c,d=map(int,input().split())
s=0
while b%2==0 and c%2==0 and d%2==0:
b=b/2
c=c/2
d=d/2
s+=1
print(s) |
s360094727 | p03494 | u315706001 | 1568423766 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 201 | N , a = map(int(),input().split())
ans = 0
for i in range (N) :
s = a[i]
d = s % 2
if d == 0 :
ans += s / 2
for i in range (N) :
s = a[i]
d = s % 2
if d == 1 :
ans = 0
print (ans)
|
s202745911 | p03494 | u092244748 | 1568406584 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 246 | i = list(map(int, input().split(',')))
flg = 0
count = 0
while(flg == 0):
if(i[0] % 2 == 0 and i[1] % 2 == 0 and i[2] % 2 == 0):
i[0] /= 2
i[1] /= 2
i[2] /= 2
count += 1
else:
flg = 1
print(count)
|
s621935729 | p03494 | u317710033 | 1568058741 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 207 | N = int(input())
nums = [int(x) for x in input().split()]
cnt = 0
loop = True
if loop:
if not all([n%2 is 0 for n in nums]):
break
for i, n in enumerate(nums):
nums[i] = n//2
cnt +=1
print(cnt) |
s151955237 | p03494 | u317710033 | 1568054895 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 236 | N = int(input())
nums = [int(x) for x in input().split()]
cnt = 0
loop = True
while loop:
if not all([n % 2 is 0 for n in nums]):
loop = Flase
break
for i, n in enumerate(nums):
nums[i] = n//2
cnt += 1
print(cnt) |
s302770651 | p03494 | u317710033 | 1568054747 | Python | Python (3.4.3) | py | Runtime Error | 2104 | 3060 | 229 | N = int(input())
nums = [int(x) for x in input().split()]
cnt = 0
loop = True
while loop:
if not all([n%2 is 0 for n in nums]):
loop = Flase
break
for i, n in enumerate(nums):
nums[1] = n//2
cnt += 1
print(cnt) |
s078481746 | p03494 | u317710033 | 1568054699 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 229 | N = int(input())
nums = [int(x) for x in input().split()]
cnt = 0
loop = True
while Loop:
if not all([n%2 is 0 for n in nums]):
loop = Flase
break
for i, n in enumerate(nums):
nums[1] = n//2
cnt += 1
print(cnt) |
s301882579 | p03494 | u593934357 | 1567902414 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38256 | 247 | n = int(input())
as = [int(input()) for i in range(n)]
bool = False
cnt = 0
while(bool == False):
for i in range(n):
as[i] = as[i] // 2
if as[i] % 2 == 1:
bool = True
break
else:
cnt += 1
print(cnt)
|
s906107634 | p03494 | u090361088 | 1567812101 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 166 | n = int(input())
a = list(map(int, input()))
ans = 0
for i in range(n):
if a[i]%2:
a[i] = a[i]//2
else:
print(ans)
exit()
ans += 1 |
s595299992 | p03494 | u966546644 | 1567744155 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | N = input()
A = numpy.array(list(map(int, input().split()))
ans = 0
while all(A%2==0):
A //= 2
ans += 1
print(ans)
|
s340860353 | p03494 | u966546644 | 1567743266 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | N = input()
A = numpy.ndarray(list(map(int, input().split()))
ans = 0
while all(A%2==0):
A //= 2
ans += 1
print(ans)
|
s572689722 | p03494 | u966546644 | 1567743042 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | N = input()
A = list(map(int, input().split())
ans = 0
while all(A%2==0):
A //= 2
ans += 1
print(ans)
|
s970787958 | p03494 | u966546644 | 1567742891 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | N = input()
A = list(map(int, input().split())
ans = 0
while all(A%2 == 0):
A = A//2
ans += 1
print(ans) |
s233269155 | p03494 | u365000388 | 1567485440 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38256 | 169 | 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)a
|
s997679909 | p03494 | u733738237 | 1567461909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 190 | N = int(input())
a = list(map(int, input().split()))
point = 0
while True:
for i in range(len(a)):
if a[i] % 2 == 1:
break
else:
point += 1
a[i] //= 2
print(point-1)
break |
s469407544 | p03494 | u918601425 | 1567274665 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 186 | N=int(input())
ls=[int(s) for s in input().split()]
count=0
i=0
while(True):
if ls[i]%2==1:
break
ls[i]=ls[i]//2
if i<N:
i+=1
else:
count+=1
i=0
print(count)
|
s945823734 | p03494 | u326609687 | 1567179749 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 15779 | mport subprocess
import gzip, base64, os
import stat
gz = b'H4sIAKqMaF0C/+19C3hUxdn/2c1tuWUDgoabLLhoEAkJCZCg6CawcBY2EElAquJhs7uB6Cab7p7F4KVGk1jWJUpb/63t1/q3+tVe/k9bra1FqxgUCVprIyoF8YIIsktAEBXjBfZ735k5mzlnz4mg7fc8/+fxaJh9f/POzDvvvPPO5VzmNqd7gdlkEpTLLFwuIDVxrIPQDoa3eFMsgJUJg+DfCcI4IRvoLI7PIThUYR/LWgktjC8D/jLhr8xM6TKzQxW... |
s124666421 | p03494 | u045408189 | 1566951485 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 163 | def how_many_times(n):
ans=0
while n%2==0:
n=n/2
ans=ans+1
return ans
n=int(input())
a=map(int,input().split())
print(min(map(how_many_times,a)))
|
s320314336 | p03494 | u045408189 | 1566950881 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 165 | def how_many_times(n):
ans=0
while n%2==0:
n=n/2
ans=ans+1
return ans
n=int(input())
a=map(int,input().split())
print(min(map(how_many_times(n),a))) |
s012703075 | p03494 | u455533363 | 1566852998 | Python | Python (3.4.3) | py | Runtime Error | 27 | 3284 | 287 | n=int(input())
a=list(map(int,input().split()))
all=[]
for i in range(n):
if a[i]%2 ==0:
count = 0
while True:
if (a[i]%2)==0:
count+=1
print(a[i])
a[i]=a[i]/2
else:
break
all.append(count)
printint((max(all)-1)) |
s127730519 | p03494 | u455533363 | 1566852339 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3056 | 225 | n=input()
a=list(map(int,input().split()))
count==0
all=[]
for i in range(n):
if a[i]%2 ==0:
while true:
if a[i]%2==0:
count+=1
else:
break
all.append(count)
print(max(count))
|
s826367393 | p03494 | u455533363 | 1566852271 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 225 | n=input()
a=map(list(int,input().split()))
count==0
all=[]
for i in range(n):
if a[i]%2 ==0:
while true:
if a[i]%2==0:
count+=1
else:
break
all.append(count)
print(max(count))
|
s851262707 | p03494 | u302292660 | 1566766958 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 191 | n = int(input())
A = list(map(int,input().split()))
ans = 0
for i in range(n):
cnt = 0
if A[i]%2:
break
else:
A[i] = A[i]/2
cnt +=1
if cnt ==n
ans +=1
print(ans)
|
s776065437 | p03494 | u243572357 | 1566711606 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3056 | 157 | count = 0
n = int(input())
lst = [int(input()) for i in range(n)]
while all([i%2 == 0 for i in lst]):
lst = [i // 2 for i in lst]
count += 1
print(count) |
s634653595 | p03494 | u243572357 | 1566711469 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 165 | n = int(input())
lst = [int(input()) for i in range(n)]
count = 0
while all([i%2 == 0 for i in lst]):
count += 1
for j in range(n):
lst[j] //= 2
print(count) |
s175878825 | p03494 | u735468069 | 1566702020 | Python | Python (3.4.3) | py | Runtime Error | 25 | 3436 | 411 | from collections import defaultdict, Counter
from heapq import heapify, heappop, heappush
from sys import stdin
def main():
N = map(int, input().split())
A = [int(x) for x in input.split()]
cnt = 0
while True:
for i in range(N):
A[i] /= 2
if A[i] % 2 == 1:
... |
s157804435 | p03494 | u587213169 | 1566590489 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 130 | input()
a=list(map(int,input().split()))
count=0
while all(a%2 == 0 for i in a):
i=[i/2 for i in a]
count+=1
print(count) |
s518385204 | p03494 | u617515020 | 1566555177 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 175 | n = input()
a = list(map(int, input().split()))
counter = 0
while sum(list(map(lambda x: x % 2, a))) == 0:
a = list(map(lambda x: x / 2, a))
counter += 1
prrint(counter) |
s060912314 | p03494 | u617515020 | 1566555059 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 177 | n = input()
a = list(map(int, input().split()))
counter = 0
while sum(list(map(lambda x: x % 2, a))) == 0:
a = list(map(lambda x: x / 2, a))
counter += 1
prrint(counter) |
s021593238 | p03494 | u617515020 | 1566555005 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 188 | n = input()
a = list(map(int(i) for i in input().split())
counter = 0
while sum(list(map(lambda x: x % 2, a))) == 0:
a = list(map(lambda x: x / 2, a))
counter += 1
prrint(counter) |
s109082289 | p03494 | u617515020 | 1566554713 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 180 | n = input()
a = [int(i) for i in input().split()]
counter = 0
while sum(list(map(lambda x: x % 2, a))) == 0:
a = list(map(lambda x: x / 2, a))
counter += 1
prrint(counter) |
s401912793 | p03494 | u617515020 | 1566554509 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 177 | n = input()
a = [int(i) for i in input().split()]
counter = 0
while sum(list(map(lambda x: x % 2, a))) == 0:
a = list(map(lambda x: x / 2, a))
counter += 1
return counter |
s635671831 | p03494 | u480568292 | 1566483542 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | input()
A = list(map(int,input().split()))
ans = 0
while all(a% == 0 for a in A):
A = [a/2 for a in A]
ans += 1
print(ans) |
s396001481 | p03494 | u079243139 | 1566416928 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 220 | n = int(input())
lis = map(int,input().split())
m = 0
b = True
while(b):
for index,l in enumerate(lis):
if l % 2 == 1:
b = False
m -= 1
break
else:
lis[index] = l // 2
m += 1
print(m)
|
s705027949 | p03494 | u079243139 | 1566416223 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 221 | n = int(input())
lis = map(long,input().split())
m = 0
b = True
while(b):
for index,l in enumerate(lis):
if l % 2 == 1:
b = False
m -= 1
break
else:
lis[index] = l // 2
m += 1
print(m)
|
s562795943 | p03494 | u079243139 | 1566416028 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 219 | n = int(input())
m = 0
b = True
lis = map(long,input().split())
while(b):
for index,l in enumrate(lis):
if l % 2 == 1:
b = False
m -= 1
break
else:
lis[index] = l // 2
m += 1
print(m) |
s933615489 | p03494 | u079243139 | 1566415982 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 212 | n = int(input())
m = 0
b = True
lis = map(long,input().split())
while(b):
for index,l in enumrate(lis):
if l % 2 == 1:
b = False
m -= 1
break
else:
lis[index] = l // 2
m += 1
|
s140030256 | p03494 | u079243139 | 1566415067 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 204 | n = int(input())
n = 0
b = True
lis = map(long,input().split())
while(b):
for index,l in enumrate(lis):
if l % 2 == 1:
b = False
n--
break
else:
lis[index] = l // 2
n++ |
s034695572 | p03494 | u079243139 | 1566414616 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | n = int(input())
m = 0
lis = map(long,input().split())
while(1)
for l in lis:
if l % 2 == 1:
return(m)
else:
l = l // 2
m++ |
s695692535 | p03494 | u079243139 | 1566414096 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 140 | n = int(input())
n= 0
lis = map(int,input().split())
while(1)
for l in lis:
if l % 2 == 1:
return(n)
else:
l /= 2
n++ |
s859382304 | p03494 | u219078733 | 1566414076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | sum = 0
for num in a:
sum = sum | num
ans = 0
for t in range(200):
if sum & 1 == 0:
sum = sum >> 1
ans += 1
else:
break
print(ans) |
s373874936 | p03494 | u219078733 | 1566368177 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 200 | n = int(input())
a = list(map(int, input().split()))
c = 0
while True:
t = [int(x/2) for x in a if x%2 == 0]
if len(t) == n:
a = t
count += 1
else:
break
print(c) |
s675372320 | p03494 | u243572357 | 1566366040 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all[i%2==0 for i in a]:
a = [i//2 for i in a]
count += 1
print(count) |
s567361565 | p03494 | u243572357 | 1566365987 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | n = int(input())
a = map(int, input().split())
count = 0
while all[i%2==0 for i in a]:
a = [i//2 for i in a]
count += 1
print(count) |
s592937883 | p03494 | u243572357 | 1566365048 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 190 | n = int(input())
a = [int(input()) for _ in range(n)]
m = float('inf')
for i in a:
count = 0
while i%2 == 0:
i = i//2
count += 1
m = min(m, count)
if m==0:
break
print(m) |
s562241520 | p03494 | u243572357 | 1566364618 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 176 | n = int(input())
a = [int(input()) for _ in range(n)]
eva = float('inf')
for i in a:
count = 0
while i%2 == 0:
i //= 2
count += 1
eva = min(count, eva)
print(eva) |
s839349673 | p03494 | u441320782 | 1566348578 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 165 | while True:
for j in range(N):
if x[j] % 2 == 0:
x[j] /= 2
else:
K = 0
break
else:
count += 1
if K==0:
break
print(count) |
s500778701 | p03494 | u269538131 | 1566322930 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 326 | num = input()
listt = input().split()
def hoge(fuga):
new_list = []
for int(i) in fuga:
if i % 2 == 0:
new_list.append(i/2)
else:
return False
return new_list
count = 0
while True:
listt = hoge(listt)
if listt == False:
break
count += 1
print(c... |
s373551818 | p03494 | u269538131 | 1566322657 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 326 | num = input()
listt = input().split()
def hoge(fuga):
new_list = []
for i in fuga:
if int(i) % 2 == 0:
new_list.append(i/2)
else:
return False
return new_list
count = 0
while True:
listt = hoge(listt)
if listt == False:
break
count += 1
print(c... |
s074823681 | p03494 | u269538131 | 1566321993 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 336 | num = int(input())
listt = [input() for i in num]
def hoge(fuga):
new_list = []
for i in fuga:
if int(i) % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True:
listt = hoge(listt)
if listt == False:
break
count += ... |
s691424916 | p03494 | u269538131 | 1566321208 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 340 | inputt = [input() for i in range(2)]
num = inputt[0]
listt = list(map(int, inputt[1].split()))
def hoge(listt):
new_list = []
for i in listt:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
listt = hoge(listt)
if listt == False:
break
coun... |
s610118603 | p03494 | u269538131 | 1566319764 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 331 | input = [input() for i in range(2)]
num = input[0]
list = list(map(int, input[1].split()))
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
p... |
s674962681 | p03494 | u269538131 | 1566319521 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 326 | input = [input() for i in range(2)]
num = input[0]
list = list(map(input[1].split()))
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(... |
s112186719 | p03494 | u269538131 | 1566319491 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 326 | input = [input() for i in range(5)]
num = input[0]
list = list(map(input[1].split()))
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(... |
s429429802 | p03494 | u269538131 | 1566319416 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 293 | num = input()
list = list(map(int, input().split()))
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(count) |
s095765371 | p03494 | u269538131 | 1566314811 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 293 | num = input()
list = list(map(int, inpit().split()))
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(count) |
s454910632 | p03494 | u269538131 | 1566314785 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 282 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if int(i) % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(count) |
s467182151 | p03494 | u269538131 | 1566314730 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 277 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
return new_list
count = 0
while True;
list = hoge(list)
if list == False:
break
count += 1
print(count) |
s310346468 | p03494 | u269538131 | 1566314673 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 255 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
count = 0
while(True);
list = hoge(list)
break if list == False
count += 1
print(count) |
s408921199 | p03494 | u269538131 | 1566314646 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 259 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list.append(i)
else:
return False
count = 0
while(True);
list = hoge(list)
break if list == False
count += 1
print(count) |
s196439803 | p03494 | u269538131 | 1566314597 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 254 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list << i
else:
return False
count = 0
while(True);
list = hoge(list)
break if list == False
count += 1
print(count) |
s502381803 | p03494 | u269538131 | 1566314563 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 250 | num = input()
list = inpit().split()
def hoge(list):
new_list = []
for i in list:
if i % 2 == 0:
new_list << i
else:
return False
count = 0
while();
list = hoge(list)
break if list == False
count += 1
print(count) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.