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
s774345211
p03494
u106184985
1554555446
Python
Python (3.4.3)
py
Runtime Error
272
17584
163
import numpy as np N = input() s = map(int, input().split()) count = 0 while True: if np.all( np.array(s)%2 == 0): count += 1 else: break print(count)
s595442206
p03494
u106184985
1554555254
Python
Python (3.4.3)
py
Runtime Error
281
20356
157
import numpy as np N = input() s = map(int, input().split()) count = 0 while True: if np.all(np.array(s)%2): count += 1 else: break print(count)
s810382945
p03494
u106184985
1554555196
Python
Python (3.4.3)
py
Runtime Error
19
2940
138
N = input() s = map(int, input().split()) count = 0 while True: if np.all(np.array(s)%2): count += 1 else: break print(count)
s600084720
p03494
u106184985
1554555043
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
s = map(int, input().split()) count = 0 while True: if np.all(np.array(s)%2): count += 1 else: break print(count)
s405560221
p03494
u633355062
1554391764
Python
Python (3.4.3)
py
Runtime Error
17
2940
168
n = int(input()) a = list(map(int, input().split())) ans = 0 for num in a: tmp = 0 while num % 2 == 0: num /= 2 tmp += 1 ans = min(tmp, ans) print(ans)
s065604412
p03494
u633355062
1554391682
Python
Python (3.4.3)
py
Runtime Error
18
2940
170
n = int(input()) a = list(map(int, input().split())) ans = 0 for num in a: tmp = 0 while num % 2 == 0: num /= 2 tmp += 1 ans = min(tmp, ans) print(ans)
s047346500
p03494
u129978636
1554326301
Python
Python (3.4.3)
py
Runtime Error
18
2940
209
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: a[j]=a[j]/2 count=count+1 print(count)
s947888398
p03494
u129978636
1554326163
Python
Python (3.4.3)
py
Runtime Error
18
3064
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)
s522423919
p03494
u129978636
1554326120
Python
Python (3.4.3)
py
Runtime Error
17
2940
228
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)
s586064172
p03494
u217940964
1554231067
Python
Python (3.4.3)
py
Runtime Error
17
2940
209
import numpy as np n = int(input()) a = np.array(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)
s222071457
p03494
u045176840
1554070180
Python
Python (3.4.3)
py
Runtime Error
18
3060
355
input_num = int(input()) nums = input().split() ope_cnt = 0 def division_nums(input_num, nums, ope_cnt): for i in range(input_num): if int(nums[i]) % 2 != 0: return ope_cnt else: nums[i] = int(nums[i]) / 2 ope_cnt = ope_cnt + 1 return division_nums(input_num, nums, ope_cnt) print(divisi...
s007076660
p03494
u005570675
1554055236
Python
Python (3.4.3)
py
Runtime Error
20
3188
220
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))
s169969780
p03494
u915355756
1553923251
Python
Python (3.4.3)
py
Runtime Error
17
2940
335
N = int(input()) data = list(map(int,input().split())) res = 0 exist_odd: bool = False while exist_odd == 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[i]//2 res += 1 ...
s773174909
p03494
u915355756
1553922630
Python
Python (3.4.3)
py
Runtime Error
17
2940
335
N = int(input()) data = list(map(int,input().split())) res = 0 exist_odd: bool = False while exist_odd == 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[i]//2 res += 1 ...
s802765802
p03494
u915355756
1553910623
Python
Python (3.4.3)
py
Runtime Error
17
2940
347
N = int(input()) data = list(map(int,input().split())) remain = [0]*N res = 0 while max(remain) == 0: 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[i]//2 r...
s127044639
p03494
u915355756
1553910379
Python
Python (3.4.3)
py
Runtime Error
17
3064
376
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 data[i] == 0: exist_odd = True if exist_odd == True: break for i in range(N): da...
s124252601
p03494
u915355756
1553909506
Python
Python (3.4.3)
py
Runtime Error
17
2940
322
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[i]//2 res += 1 print(re...
s009388740
p03494
u965337330
1553905591
Python
Python (3.4.3)
py
Runtime Error
17
3060
193
A=input() B=list(map(int,input().split())) j=0 l=0 for k in range(100): for i in range(A): if isinstance(B[i]/2,int): j=j+1 if j!=A: print(l) l=l+1
s671410907
p03494
u965337330
1553905518
Python
Python (3.4.3)
py
Runtime Error
17
2940
193
A=input() B=list(map(int,input().split())) j=0 l=0 for k in range(100): for i in range(A): if isinstance(B[i]/2,int): j=j+1 if j!>A: print(l) l=l+1
s772216230
p03494
u965337330
1553905476
Python
Python (3.4.3)
py
Runtime Error
17
2940
191
A=input() B=list(map(int,input().split())) j=0 l=0 for k in range(100) for i in range(A) if isinstance(B[i]/2,int): j=j+1 if j!>A: print(l) l=l+1
s266300705
p03494
u833492079
1553904895
Python
Python (3.4.3)
py
Runtime Error
17
2940
174
n = int(input()) a = [int(i) for i in input().split()] ans=1000000000 for i in a: 'print(i) count=0 while i%2==0: count+=1 ans = min(ans, count) print(ans)
s580268438
p03494
u652057333
1553902697
Python
Python (3.4.3)
py
Runtime Error
18
3060
270
# B n = int(input()) a = [int(i) for i in input().split()] count = 0 flag = True while flag: for i in range(len(a)): if a[i] % 2 == 0: continue else: flag = False break a = map(lambda x: x / 2, a) print(count)
s665033157
p03494
u864197622
1553902346
Python
Python (3.4.3)
py
Runtime Error
18
2940
195
N = int(input()) def calc(n): if n % 2: return 0 else: return a(n//2) + 1 A = [int(a) for a in input().split()] mi = 9999 for a in A: mi = min(mi, calc(a)) print(a)
s274284769
p03494
u078944864
1553783794
Python
Python (3.4.3)
py
Runtime Error
17
3060
275
n = input() nums = map(int, input().split) min_ans = 0 for num in nums: ans = 0 tmp = num % 2 if (tmp == 1): break ans += 1 while (tmp % 2 == 0 and ans <= min_ans): ans += 1 tmp = tmp % 2 if (ans < min_ans): min_ans = ans print(min_ans)
s974897178
p03494
u894956552
1553657693
Python
Python (3.4.3)
py
Runtime Error
17
2940
138
N = input() number=[] for _ in range(N): num = int(input()) number.append(num) for i in number: if i%2 == 0: counter += 1 print
s513014604
p03494
u894956552
1553656844
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
N = input() number=[] for i in range(N): num = input() number.append(num) if map(lambda x: x%2 == 0, number): counter += 1 print(counter)
s836658077
p03494
u894956552
1553656217
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
N = input() number=[] for i in range(N): num = input() number.append(num) while map(number%2 == 0): for _ in range(N): if map(number%2 == 0): counter += 1 print(counter)
s077532723
p03494
u191829404
1553606814
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38640
900
# https://qiita.com/_-_-_-_-_/items/34f933adc7be875e61d0 # abcde s=input() s='abcde' # abcde s=list(input()) s=['a', 'b', 'c', 'd', 'e'] # 5(1つだけ) a=int(input()) a=5 # 1 2 | x,y = s_inpl() | x=1,y=2 # 1 2 3 4 5 ... n   li = input().split() li=['1','2','3',...,'n'] # 1 2 3 4 5 ... n   li = inpl() li=[1,2,3,4,5,...,n] ...
s777657485
p03494
u224156735
1553397117
Python
Python (3.4.3)
py
Runtime Error
17
2940
218
N=int(input()) l = list(map(int, input().split())) count=0 while True: for i in range(len(l)): if l[i]%2==0: l[i] //= 2 else: print(count) exit() count += 1
s975647310
p03494
u771532493
1553130171
Python
Python (3.4.3)
py
Runtime Error
18
2940
109
N=int(input()) lst=[int(i) for i in input().split()] for i in range(n): lst[i]=lst[i]//2 print(min(ans))
s387923165
p03494
u374051158
1553079053
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)
s589874503
p03494
u204358360
1552850521
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)
s704995101
p03494
u204358360
1552850424
Python
Python (3.4.3)
py
Runtime Error
18
3060
271
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++;
s221308707
p03494
u061563736
1552772130
Python
Python (3.4.3)
py
Runtime Error
17
3060
238
n = input() list = list(map(int, input().split())) count = 0 can = True while can: for i in range(0, n): a = list[i] if a % 2 == 0: list[i] = a / 2 else: can = False if can == True: count += 1 print(count)
s737707033
p03494
u218099684
1552768279
Python
Python (3.4.3)
py
Runtime Error
17
2940
295
n = int(input()) a = list(map(int, input().split())) answer = [] for i in range (n) : number = 0 odd = a[i] %% 2 a[i] = a[i] / 2 while odd <= 0 : number += 1 odd = a[i] %% 2 a[i] = a[i] / 2 answer.append(number) #print(answer) print(min(answer))
s761932247
p03494
u061563736
1552670999
Python
Python (3.4.3)
py
Runtime Error
17
3060
238
n = input() list = list(map(int, input().split())) count = 0 can = True while can: for i in range(0, 6): a = list[i] if a % 2 == 0: list[i] = a / 2 else: can = False if can == True: count += 1 print(count)
s043591177
p03494
u061563736
1552670866
Python
Python (3.4.3)
py
Runtime Error
18
3060
227
n = input() list = input().split() count = 0 can = True while can: for i in range(0, 6): a = int(list[i]) if a % 2 == 0: list[i] = a / 2 else: can = False if can == True: count += 1 print(count)
s395161836
p03494
u358791207
1552632888
Python
Python (3.4.3)
py
Runtime Error
17
2940
192
import numpy as np N = int(input()) a = list(map(int, input().split())) count = [0] * N for i in range(N): while(a[i] % 2== 0): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s525960406
p03494
u358791207
1552632699
Python
Python (3.4.3)
py
Runtime Error
17
2940
192
import numpy as np N = int(input()) a = list(map(int, input().split())) count = [0] * N for i in range(N): while(a[i] % 2== 0): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s351917985
p03494
u358791207
1552632531
Python
Python (3.4.3)
py
Runtime Error
18
2940
192
import numpy as np N = int(input()) a = list(map(int, input().split())) count = [0] * N for i in range(N): while(a[i] % 2== 1): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s422333104
p03494
u358791207
1552632406
Python
Python (3.4.3)
py
Runtime Error
17
2940
179
import numpy as np N = int(input()) a = int(list(input())) count = [0] * N for i in range(N): while(a[i] % 2== 1): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s298436099
p03494
u358791207
1552632373
Python
Python (3.4.3)
py
Runtime Error
17
3060
178
import numpy as np N = int(input()) a = int(list(input()) count = [0] * N for i in range(N): while(a[i] % 2== 1): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s248830489
p03494
u358791207
1552632288
Python
Python (3.4.3)
py
Runtime Error
17
2940
186
import numpy as np N = int(input()) a = map(int, input().split()) count = [0] * N for i in range(N): while(a[i] % 2== 1): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s069878955
p03494
u358791207
1552632137
Python
Python (3.4.3)
py
Runtime Error
18
3188
185
import numpy as np N = int(input()) a = map(int, input().split()) count = [0] * N for i in range(N): while(a[i] % == 1): a[i] = a[i] // 2 count[i] += 1 print(np.min(count))
s552482625
p03494
u544050502
1552249130
Python
Python (3.4.3)
py
Runtime Error
17
2940
294
##いろいろやってみよう import functools def mod(a,b): c=a%b return c N=int(input()) *A,=map(mod,input().split()) count=0 for j in range(len(bin(max(A)))-2): if 1 in map(functools.partial(mod,b=2),A)): break else: A=[A[i]//2 for i in range(N)] count+=1 print(count)
s167438625
p03494
u894348341
1552188397
Python
Python (3.4.3)
py
Runtime Error
17
3060
161
import math n = input() a = list(map(int, iput().split())) ans = float('inf') for i in a: ans = min(ans, len(bin(i)) - bin(i).rfind('1') - 1) print(round(ans))
s780063582
p03494
u933722792
1552054674
Python
Python (3.4.3)
py
Runtime Error
18
3064
829
"""Shift Only 【問題概要】 黒板に N 個の正の整数 A1,…,AN が書かれています。 すぬけ君は,黒板に書かれている整数がすべて偶数であるとき,次の操作を行うことができます。 黒板に書かれている整数すべてを,2 で割ったものに置き換える。 すぬけ君は最大で何回操作を行うことができるかを求めてください。 【制約】 1≤N≤2001≤N≤200 1≤Ai≤1091≤Ai≤109 【数値例】 1)  N=3  A=(16,12,24) """ N = int(input()) A = list(map(int, input().split(','))) is_all_odd = True counter = 0 ...
s573366557
p03494
u040986872
1551989767
Python
Python (3.4.3)
py
Runtime Error
18
2940
266
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
s802195650
p03494
u095426154
1551743764
Python
Python (3.4.3)
py
Runtime Error
18
3060
176
n=int(input()) l=list(map(int,input().split(" "))) ans=0 while i <len(l): if l[i]%2!=0: break else: l[i]=int(l[i]/2) i+=1 ans+=1 print(ans)
s998210023
p03494
u636162168
1551718757
Python
Python (3.4.3)
py
Runtime Error
162
13108
177
import numpy as np N=input() a=list(map(int,input().split(","))) a=np.asarray(a) b=0 while True: if all(a%2==0): a=a/2 b+=1 else: break print(b)
s232836671
p03494
u636162168
1551718628
Python
Python (3.4.3)
py
Runtime Error
322
21020
161
import numpy as np N=input() a=list(map(int,input().split(","))) a=np.asarray(a) b=0 while True: if all(a%2==0): a=a/2 b+=1 else: break print(b)
s492560204
p03494
u242393873
1551675545
Python
Python (3.4.3)
py
Runtime Error
17
3060
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))
s627078375
p03494
u235905557
1551460477
Python
Python (3.4.3)
py
Runtime Error
18
2940
277
N = int(input()) vals = map(int, input().split()) result = 1000000 for i in range(0, N): val = vals[i] count = 0 while True: if val % 2 == 1: break val /= 2 count += 1 if result > count: result = count print (result)
s999463944
p03494
u235905557
1551460431
Python
Python (3.4.3)
py
Runtime Error
18
3060
271
N = input() vals = map(int, input().split()) result = 1000000 for i in range(0, N): val = vals[i] count = 0 while True: if val % 2 == 1: break val /= 2 count += 1 if result > count: result = count print (result)
s091959095
p03494
u235905557
1551460345
Python
Python (3.4.3)
py
Runtime Error
18
2940
270
N = input() vals = map(int, input().split()) result = 1000000 for i in range(N): val = vals[i] count = 0 while True: if val % 2 == 1: break val /= 2 count += 1 if result > count: result = count print (result)
s256160824
p03494
u235905557
1551460314
Python
Python (3.4.3)
py
Runtime Error
18
2940
270
N = input() vals = map(int, input().split()) result = 1000000 for i in xrange(N): val = vals[i] count = 0 while True: if val % 2 == 1: break val /= 2 count += 1 if result > count: result = count print (result)
s628307192
p03494
u235905557
1551460253
Python
Python (3.4.3)
py
Runtime Error
17
3060
283
import sys N = input() vals = map(int, input().split()) result = sys.maxint for i in xrange(N): val = vals[i] count = 0 while True: if val % 2 == 1: break val /= 2 count += 1 if result > count: result = count print (result)
s054989255
p03494
u235905557
1551459639
Python
Python (3.4.3)
py
Runtime Error
17
2940
257
N = input() vals = map(int, input().split()) count = 0 is_odd = False while True: for val in vals: if val % 2 == 1: is_odd = True if is_odd: break for i in xrange(N): vals[i] /= 2 count += 1 print (count)
s492937347
p03494
u235905557
1551459573
Python
Python (3.4.3)
py
Runtime Error
19
3060
256
N = input() vals = map(int, input().split()) count = 0 is_odd = False while True: for val in vals: if val % 2 == 1: is_odd = True if is_odd: break for i in range(N): vals[i] /= 2 count += 1 print (count)
s534815341
p03494
u235905557
1551458972
Python
Python (3.4.3)
py
Runtime Error
18
2940
230
N = input() vals = input().split() count = 0 while True: for val in vals: if val % 2 == 1: break else: count += 1 vals = map(lambda x: x/2, vals) continue break print (count)
s297144241
p03494
u235905557
1551458924
Python
Python (3.4.3)
py
Runtime Error
18
3060
211
N = input() vals = input().split() count = 0 while True: for val in vals: if val % 2 == 1: break else: vals = map(lambda x: x/2, vals) continue break print (count)
s484049582
p03494
u655048024
1551409349
Python
Python (3.4.3)
py
Runtime Error
19
3060
243
n = int(input()) c = list(map(int, input().split())) k = 1 count = 0 while True: for i in range(n): k *= c[i] l = (k % (2**n)) if (l == 0): for j in range(n): c[j] = c[j] / 2 count += 1 else: break print(count)
s348562918
p03494
u655048024
1551409236
Python
Python (3.4.3)
py
Runtime Error
18
3060
241
n=int(input()) c=list(map(int, input().split())) k = 1 count = 0 while True: for i in range(n): k *= c[n] l = (k % (2**n)) if (l == 0): for j in range(n): count += 1 c[j] = c[j] / 2 else: break print(count)
s668451598
p03494
u655048024
1551409136
Python
Python (3.4.3)
py
Runtime Error
18
3060
244
N=int(input()) c=list(map(int, input().split())) k = 1 count = 0 while True: for i in range(N): k = k*c[N] c_1 = (c % (2**N)) if (c_1 == 0): for j in range(N): count += 1 c[j] = c[j]/2 else: break print(count)
s888852502
p03494
u655048024
1551409068
Python
Python (3.4.3)
py
Runtime Error
18
2940
214
N=int(input()) c=list(map(int, input().split())) k = 1 count = 0 while True: for i in range(N): k = k*c[N] c_1 = (c % (2**N)) if (c_1 == 0): for j in range(N): c[j] = c[j]/2 else: break
s887476051
p03494
u044746696
1551153956
Python
Python (3.4.3)
py
Runtime Error
18
2940
92
n=input() a=list(int,input().split()) count=0 while (i%==0): a=a/2 count+=1 print(count)
s558312635
p03494
u392029857
1551114937
Python
Python (3.4.3)
py
Runtime Error
18
3064
266
N = int(input()) A = list(map(int, input().split())) index = len(A) det =True count = 0 while det: for i in index: if (A[i] % 2) != 0: det = False break A[i] = A[i] // 2 if det != False: count += 1 print(count)
s914451218
p03494
u392029857
1551114794
Python
Python (3.4.3)
py
Runtime Error
18
3060
241
N = int(input()) A = list(map(int, input().split())) index = len(A) det =True count = 0 while det: for i in index: if (A[i] % 2) != 0: det = False break if det != False: count += 1 print(count)
s960263743
p03494
u310678820
1551059394
Python
Python (3.4.3)
py
Runtime Error
20
3316
186
import sys N=input() a=[int(i) for i in input().split()] t=0 while True: for i in range(N): if a[i]%2==0: a[i]//=2 t+=1 else: print(t) sys.exit()
s823181475
p03494
u350049649
1550709813
Python
Python (3.4.3)
py
Runtime Error
17
2940
195
N=int(input()) A=list(map(int,input().split()))ans=0 flag=0 while flag==0: for i in range(N): if A[i]&1==0: A[i]=A[i]>>1 else: print(ans) flag=1 break ans+=1
s446305150
p03494
u350049649
1550670931
Python
Python (3.4.3)
py
Runtime Error
17
2940
174
N=int(input()) A=list(map(int,input().split())) ans=0 while True: for i in range(N): if A[i]&1==0: A[i]=A[i]>>1 else: print(ans) return ans+=1
s632888003
p03494
u350049649
1550670862
Python
Python (3.4.3)
py
Runtime Error
18
2940
171
N=int(input()) A=list(map(int,input().split())) ans=0 while True: for i in range(N): if A[i]%2==0: A[i]=A//2 else: print(ans) return ans+=1
s502934042
p03494
u350049649
1550670705
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
N=int(input()) A=list(map(int,input().split())) ans=0 while True: for i in range(N): if A[i]&1==0: A[i]=A>>1 else: print(ans) return ans+=1
s239107926
p03494
u598720217
1550598950
Python
Python (3.4.3)
py
Runtime Error
17
2940
236
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s469213074
p03494
u598720217
1550598934
Python
Python (3.4.3)
py
Runtime Error
18
2940
236
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s149780247
p03494
u598720217
1550598774
Python
Python (3.4.3)
py
Runtime Error
17
2940
237
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s447322846
p03494
u598720217
1550598724
Python
Python (3.4.3)
py
Runtime Error
17
2940
247
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s902633335
p03494
u598720217
1550598647
Python
Python (3.4.3)
py
Runtime Error
17
2940
248
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s085749032
p03494
u598720217
1550598600
Python
Python (3.4.3)
py
Runtime Error
17
2940
281
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s733383619
p03494
u598720217
1550598579
Python
Python (3.4.3)
py
Runtime Error
17
2940
284
n = input() num = [] num = input().split(" ") t = 0 a=0 while True: num2=[] for i in num: if not (int(i)%2): a =1 break num2.append(int(i)%2) num = num2 t+=1 if a==1: print(t) break
s445646342
p03494
u598720217
1550598538
Python
Python (3.4.3)
py
Runtime Error
17
2940
389
n = input() num = [] num = input().split(" ") t = 0 ...: a=0 ...: while True: ...: num2=[] ...: for i in num: ...: if not (int(i)%2): ...: a =1 ...: break ...: num2.append(int(i)%2) ...: num = num2 ...: t+=1 ...
s293512034
p03494
u598720217
1550594977
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
n = input() num = [] num = input().split(" ") t = 0 while True: num2 = [] for i in num: if i%2 !=0: break num2.append(i/2) t+=1 num = num2 prtin(t)
s464514237
p03494
u598720217
1550594959
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
n = input() num = [] num = input().split(" ") t = 0 while true: num2 = [] for i in num: if i%2 !=0: break num2.append(i/2) t+=1 num = num2 prtin(t)
s732331973
p03494
u598720217
1550590964
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
n = input() num = [] num = " ".split(input()) t = 0 while true: num2 = [] for i in num: if i%2 !=0: break num2.append(i/2) t+=1 num = num2 prtin(t)
s677840776
p03494
u227837680
1550469796
Python
Python (2.7.6)
py
Runtime Error
10
2568
413
import sys N = sys.stdin.readline().rstrip(); N = int(N) A = [] cnt = 0 while cnt < N: element = sys.stdin.readline().rstrip() element = int(element) A.append(element) cnt += 1 ans = 0 while True: # check bool_check=True for i in xrange(N): if A[i] % 2 == 1: bool_check = False break if ...
s061714369
p03494
u401487574
1550452696
Python
Python (3.4.3)
py
Runtime Error
18
3064
161
def counter(a): count = 0 while a%2 ==0: a /= 2 count += 1 return count s = list(map(int,input().split())) print(min(list(map(counter,s)))
s442271565
p03494
u401487574
1550451820
Python
Python (3.4.3)
py
Runtime Error
18
2940
139
lis = map(int,input().split()) def counter(x): count = 0 while x%2 ==0: x = x/2 count += 1 return count min(counter,lis)
s282342069
p03494
u371467115
1550199130
Python
Python (3.4.3)
py
Runtime Error
18
2940
149
n=int(input()) a=list(map(int,input().split())) cnt=0 for _ in range(len(bin(max(a))-2): for i in a: if a%2==1: break cnt+=1 print(cnt)
s372986435
p03494
u714533789
1550123445
Python
Python (3.4.3)
py
Runtime Error
17
2940
135
n = input() a = list(map(int, input().split()) while True: sum(a) if sum % 2: break for num in a: num = num / 2 i += 1 print(i)
s829949378
p03494
u714533789
1550123265
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
n = input() a = list(map(int, input().split()) while True: sum += [num for num in a] if sum % 2: break for num in a: num /= 2 i += 1 print(i)
s031223475
p03494
u714533789
1550122617
Python
Python (3.4.3)
py
Runtime Error
17
2940
155
n = input() a = list(map(int, input().split()) while True: sum += a[num for num in len(a)] if sum % 2: break for num in a: num /= 2 i += 1 print(i)
s519184679
p03494
u114954806
1550088286
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38640
281
import math from functools import reduce n=int(input()) lst=list(map(int,input().split())) count=0 def gcd(*numbers): return reduce(math.gcd, numbers) result = gcd(*lst) while 1: if result%2 == 0: count += 1 result //= 2 else: break print(count)
s232357524
p03494
u114954806
1550085948
Python
Python (3.4.3)
py
Runtime Error
23
3688
285
import math from functools import reduce n=int(input()) lst=list(map(int,input().split())) count=0 def gcd(*numbers): return reduce(math.gcd, numbers) result = gcd(*lst) while 1: if result%2 == 0: count += 1 result //= 2 else: break print(count)
s281512498
p03494
u397563544
1549856748
Python
Python (3.4.3)
py
Runtime Error
18
2940
130
n = int(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)
s650402154
p03494
u397563544
1549856651
Python
Python (3.4.3)
py
Runtime Error
18
2940
128
n = int(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)
s667874567
p03494
u650137238
1549345823
Python
Python (3.4.3)
py
Runtime Error
18
2940
189
import math n = int(input()) arr = [int(x) for x in input().split()] count = 0 max_even = 0 for x in arr: if x % == 2 and x > max_even: max_even = x print(math.log2(max_even))
s591551334
p03494
u174394352
1549261715
Python
PyPy3 (2.4.0)
py
Runtime Error
189
38640
133
N=int(input()) A=list(map(int,input().split())) l=[] for a in A: b=0 while a%2==0: a//=2 b+=1 l.append(b) print(min(b))
s590301806
p03494
u174394352
1549261611
Python
PyPy3 (2.4.0)
py
Runtime Error
185
38256
132
N=int(input()) A=list(map(int,input().split())) l=[] for a in A: b=0 while a%2==0: a//=2 b+=1 l.append(b) print(min(l))
s975230057
p03494
u985376351
1549141715
Python
Python (3.4.3)
py
Runtime Error
20
3060
198
N = int(input()) a = list(map(int,input().split())) c = list() for n in range(N): for i in range(1,30): if not a[n]%(2**i)==0: c.append(i-1) break print(min(c))
s323169979
p03494
u977389981
1548339921
Python
Python (3.4.3)
py
Runtime Error
19
3060
270
n = int(input()) A = [int(i) for i in input().split()] if all(A[i] % 2 == 0 for i in range(n)): ans = 10 ** 9 for i in range(n): count = 0 while A[i] % 2 == 0: A[i] //= 2 count += 1 ans = min(ans, count) print(ans)