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
s335881301
p03494
u265118937
1580930735
Python
Python (3.4.3)
py
Runtime Error
17
2940
270
n = int(input()) A = list(map(int, input().split())) count = 0 while True: for i in range(n): if (A[i] % 2 == 1) or (A[i] == 0): break elif: A[i] = A[i] // 2 s += 1 continue break print(count)
s014924840
p03494
u127499732
1580870811
Python
Python (3.4.3)
py
Runtime Error
17
2940
135
n=int(input()) l=list(map(int,input().split())) ans=0 for i in l: t=0 while(i%2=0): i=i//2 t+=1 ans=min(ans,t) print(ans)
s203035444
p03494
u265118937
1580864248
Python
Python (3.4.3)
py
Runtime Error
17
2940
270
n = int(input()) A = list(map(int, input().split())) count = 0 while True: for i in range(n): if (A[i] % 2 == 1) or (A[i] == 0): break elif: A[j] = A[j] // 2 s += 1 continue break print(count)
s510628559
p03494
u265118937
1580858890
Python
Python (3.4.3)
py
Runtime Error
17
3056
222
n = int(input()) list = [int(input()) for h in range(n) ] s = 0 while True: for i in range(n): if list[i] % 2 == 1: break for j in range(n): list[j] = list[j] / 2 s = s + 1 print(s)
s204866780
p03494
u265118937
1580858472
Python
Python (3.4.3)
py
Runtime Error
17
2940
157
n = int(input()) list = [int(input()) for num in range(n) ] m = min(list) a = 0 while True: m = m / 2 if m <= 1: break a = a + 1 print(a)
s999150824
p03494
u265118937
1580858360
Python
Python (3.4.3)
py
Runtime Error
17
2940
157
n = int(input()) list = [int(input()) for 0 in range(n-1) ] m = min(list) a = 0 while True: m = m / 2 if m <= 1: break a = a + 1 print(a)
s422820975
p03494
u265118937
1580858045
Python
Python (3.4.3)
py
Runtime Error
18
2940
150
n = list(map(int, input().split())) a = input().split() b = 0 c = 0 while True: b = min(a) / 2 if b <= 1: break c = c + 1 print(c)
s128918221
p03494
u265118937
1580857972
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
n = int(input()) a = input().split() b = 0 c = 0 while True: b = min(a) / 2 if b <= 1: break c = c + 1 print()
s677880997
p03494
u265118937
1580857948
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
n = int(input()) a = input().split() b = 0 c = 0 while True: b = min(a) / 2 if b <= 1: break c = c + 1 print()
s322319081
p03494
u326626914
1580712437
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
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)
s799042226
p03494
u622349926
1580599301
Python
Python (3.4.3)
py
Runtime Error
17
2940
246
n = input() nums = map(int, input().split()) num_dvd = 0 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
s899217584
p03494
u075520262
1580509926
Python
Python (3.4.3)
py
Runtime Error
17
2940
307
n = int(input()) A = list(map(int, input().split())) int cnt=0 while True: exist_odd = False for a in A: if a % 2 == 0: continue else: exist_odd = True break if exist_odd: break A = [a/2 for a in A] cnt = cnt + 1 print(cnt)
s765779383
p03494
u414458988
1580259603
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
121
input() a=list(map(int,input().split())) ans=0 while all(a%2==0 for i in A): A = [a/2 for a in A] ans += 1 print(ans)
s865882235
p03494
u000842852
1580230525
Python
Python (3.4.3)
py
Runtime Error
17
2940
176
N = int(input()) A = list(map(int, input().split)) count = 0 while True: for i in range(len(A)): if A[i]%2==0: A[i] = A[i]/2 count += 1 else: brake
s923982947
p03494
u000842852
1580230411
Python
Python (3.4.3)
py
Runtime Error
17
2940
182
N = int(input()) A = sorted(map(int, input().split)) count = 0 while True: for i in range(len(A)): if A[i]%2==0: A[i] = A[i]/2 count += 1 else: brake
s024305877
p03494
u942435175
1580107930
Python
Python (3.4.3)
py
Runtime Error
149
12428
448
import numpy as np n = int(input()) val = map(int, input().split()) count = 0 val_list = np.array(list(map(int, val.split()))) while True: # 偶数の数算出 even_cnt = len(list(filter(lambda x:x % 2 == 0, val_list))) # 配列の値の偶数判定 if n == even_cnt: # 配列の割り算 val_list = val_list/2 # 上記繰...
s418890386
p03494
u942435175
1580107886
Python
Python (3.4.3)
py
Runtime Error
17
3060
429
n = int(input()) val = map(int, input().split()) count = 0 val_list = np.array(list(map(int, val.split()))) while True: # 偶数の数算出 even_cnt = len(list(filter(lambda x:x % 2 == 0, val_list))) # 配列の値の偶数判定 if n == even_cnt: # 配列の割り算 val_list = val_list/2 # 上記繰り返しの回数保存 co...
s326835578
p03494
u985972698
1580081044
Python
Python (3.4.3)
py
Runtime Error
152
12480
2325
# -*- coding: utf-8 -*- #整数値入力 1文字の入力 def input_one_number(): return int(input()) #整数値龍力 複数の入力 def input_multiple_number(): return map(int, input().split()) #整数値龍力 複数の入力(配列) def input_multiple_number_as_list(): return list(map(int, input().split())) #2次元配列入力 def input_map(): return [list(map(int,lis...
s493413272
p03494
u520392474
1580010969
Python
Python (3.4.3)
py
Runtime Error
17
2940
356
n = input() a = list(map(int, input().split())) even = True count = 0 while even: for ai in range(len(a)): if a[ai] % 2 != 0: even = False break if even: a = list(map(lambda num: num / 2, a)) count += 1 else...
s302404556
p03494
u686036872
1579951399
Python
Python (3.4.3)
py
Runtime Error
17
2940
140
N = int(input()) list = list(int(input())) count=0 while all(i%2 == 0 for i in list): count+=1 list=[j/2 for j in list] print(count)
s848745469
p03494
u217547685
1579906385
Python
PyPy3 (2.4.0)
py
Runtime Error
188
39792
138
n = input() A = list(map(int, input().split())) cnt = 0 while all(a % 2 == 0 for a in A): A = [a / 2 for a in A] cnt += 1 print(count)
s289377450
p03494
u224488911
1579374198
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
input() List=list(map(int,input().split())) ans=0 while all(l%2==0 for l in List): List[l/2 for l in List] ans+=1 print(ans)
s728611172
p03494
u224488911
1579374186
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
n=input() List=list(map(int,input().split())) ans=0 while all(l%2==0 for l in List): List[l/2 for l in List] ans+=1 print(ans)
s661268813
p03494
u224488911
1579374113
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
n=input() List=list(map(int,input().split())) ans=0 while all(l%2==0 for l in List): List[l/2 for l in List] ans+=1 print(ans)
s153192383
p03494
u224488911
1579373972
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
n=input() l=list(map(int,input().split())) ans=0 while all(i%2==0 for i in l): l[i/2 for i in l] ans+=1 print(ans)
s030254174
p03494
u224488911
1579373766
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
n=input() l=list(map(int,input().split())) ans=0 while l%2==0 for i in l: l[i/2 for i in l] ans += 1 print(ans)
s945647696
p03494
u696240348
1579156785
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38384
217
a, b, c, x = map(int, [input() for i in range(4)]) ans = 0 for i in range(a+1): for j in range(b+1): for k in range(c+1): if i * 500 + j * 100 + k * 50 == x: ans += 1 print(ans)
s965702724
p03494
u873134970
1579038942
Python
Python (3.4.3)
py
Runtime Error
18
3060
332
def factorization(n): arr = [] temp = n for i in range(2,3): if temp%i==0: cnt=0 while temp%i==0: cnt+=1 temp //= i arr.append(cnt) return arr n=int(input()) num=list(map(factorization,list(map(int,input().split())))) print(...
s084812914
p03494
u478132434
1578887149
Python
Python (3.4.3)
py
Runtime Error
17
2940
184
# 数値の入力とリスト化 N = int(input()) s = input() l = [int(N) for N in s] print(l[1]) # 割り算できる回数 x = 0 for n in N if l[n] % 2 == 0: x == x + 1
s559001016
p03494
u816631826
1578794112
Python
Python (3.4.3)
py
Runtime Error
17
3060
234
import sys n=int(input()) l=[int(n) for n in input().split()] sum=0 for i in l: if i%2!=0: oc=0 sum+=i if(oc==0): print(0) else: c=0 while(sum%2==0 and sum>=2): c+=1 sum=sum//2 print(c)
s213974121
p03494
u620128827
1578757322
Python
Python (3.4.3)
py
Runtime Error
18
3060
162
import math a = input() n = 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))
s352708031
p03494
u620128827
1578757025
Python
Python (3.4.3)
py
Runtime Error
17
2940
159
import math n = input() a = list(map(int, input().split())) ans = float("inf") for i a: ans = min(ans, len(bin(i)) - bin(i).rfind("1")-1) print(round(ans))
s818358808
p03494
u620128827
1578756812
Python
Python (3.4.3)
py
Runtime Error
17
2940
167
import math n = input() a = list(map(int, input().split())) ans = float("inf") for i a: ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1) print(round(ans))
s972849449
p03494
u620128827
1578755190
Python
Python (3.4.3)
py
Runtime Error
17
2940
163
def hmtd(n): ans = 0 while n % 2 == 0: n /= 2 and += 1 return ans n = int(input()) a = map(int, input().split()) ans = min(map(hmtd, a)) print(ans)
s718758085
p03494
u747220349
1578550479
Python
Python (3.4.3)
py
Runtime Error
20
3316
119
n=int(input()) l=list(map(int(input().split()))) m=list(map(bin,l)) print(min(m[i].rfind(1)-1 for i in range(1,n+1)))
s645255918
p03494
u747220349
1578447624
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
n=input() a=list(map(int,input(),split())) b=map(bin,a) c=map(rfind('1')-1,c) print(min(c))
s729313962
p03494
u747220349
1578447446
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
n=input() a=list(map(bin(int),input(),split())) b=map(rfind('1')-1,a) print(min(b))
s931773045
p03494
u747220349
1578447240
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
n=input() a=list(map(int,input(),split())) b=list(map(rfind('1')-1,a)) print(min(b))
s509785078
p03494
u887924592
1578366272
Python
Python (3.4.3)
py
Runtime Error
17
2940
809
#include <bits/stdc++.h> #define all(x) (x).begin(),(x).end() #define init() \ ios::sync_with_stdio(false); \ cin.tie(0) using namespace std; using ll = long long; using ull = unsigned long long; template<typename M, typename N> constexpr common_type_t<M, N> gcd(M a, N b) { return a == 0 ? b : b == 0 ? a ...
s207882425
p03494
u851648783
1578358042
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
A = input().split() count = 0 flag = True while flag: for i in range(N): if A[i] % 2 != 0: flag = False break if !flag: print(count) count += 1 for i in range(N): A[i] = A[i] / 2
s190738922
p03494
u851648783
1578357930
Python
Python (3.4.3)
py
Runtime Error
17
2940
193
A = input().split() count = 0 flag = True while flag: fot i in range(N): if A[i] % 2 != 0: flag = False break if !flag: print(count) count += 1 A[i] = A[i] / 2
s638740339
p03494
u597013723
1578285028
Python
Python (3.4.3)
py
Runtime Error
17
2940
186
N = int(input()) res = 1000000000000 for i in range(N): count = 0 x = int(input()) while x%2==0: x /= 2 count += 1 if res > count: res = count print(res)
s690934823
p03494
u437550947
1578121383
Python
Python (3.4.3)
py
Runtime Error
18
3064
580
# https://atcoder.jp/contests/abc081/tasks/abc081_b import math def div_list(list_num): _div_list = [] can_iter = True for k in range(len(list_num)): if math.isclose(list_num[k]%2, 0) == False: can_iter = False _div_list.append(list_num[k] / 2) return can_iter, _div_list n...
s023790912
p03494
u189385406
1578004198
Python
Python (3.4.3)
py
Runtime Error
17
2940
151
htN = int(input()) A = map(int, input().split()) C=0 while True: for i in A: if A[i]%2 != 0: print(C) exit() A[i]/=2 C+=1
s052253140
p03494
u189385406
1578004179
Python
Python (3.4.3)
py
Runtime Error
18
2940
157
htN = int(input()) A = list(map(int, input().split())) C=0 while True: for i in A: if A[i]%2 != 0: print(C) exit() A[i]/=2 C+=1
s942583166
p03494
u189385406
1578003914
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
N = int(input()) A = list(map(int, input().split())) C=0 while True: for i in A: if i%2 != 0:: print(C) exit() A[i]/=2 C+=1
s949880651
p03494
u189385406
1578003864
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
N = int(input()) A = list(map(int, input().split())) C=0 while true: for i in A: if i%2 != 0:: print(C) exit() A[i]/=2 C+=1
s547468874
p03494
u816587940
1577977703
Python
Python (3.4.3)
py
Runtime Error
17
2940
783
#include <iostream> #include <string> #include <vector> #include <deque> #include <queue> #include <algorithm> #include <set> #include <map> #include <bitset> #include <cmath> #include <functional> #define vv(a, b, c, d) vector<vector<d> >(a, vector<d>(b, c)) #define vvi vector<vector<int> > #define vvl vector<vector<l...
s329660762
p03494
u724152875
1577850167
Python
Python (3.4.3)
py
Runtime Error
17
3064
174
t=int(input()) li=list(map(int,input().split())) count=0 while true: if li[0:t]%2==0: for i in range(t): li[i]=li[i]/2 count+=1 continue break print(count)
s018008693
p03494
u724152875
1577850085
Python
Python (3.4.3)
py
Runtime Error
18
2940
173
t=int(input()) li=list(map(int,input().split())) count=0 while true: if li[0:t]%2==0: for i in range(t): li[i]=li[i]/2 count+=1 else: break print(count)
s863363503
p03494
u639592190
1577565096
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
N=int(input()) L=list(map(int,input().split())) cnt=0 while all(l%2==0 l in L): L=[l/2 for l in L] cnt+=1 print(cnt)
s547216723
p03494
u265118937
1577562487
Python
Python (3.4.3)
py
Runtime Error
17
2940
236
n = int(input()) x = 0 for i in range(n) : list[] = int(input()) while True : for j in range(n): if list[j] % 2 == 1: break for k in range(n): list[k] = list[k] / 2 x = x + 1 print(x)
s579202158
p03494
u265118937
1577562447
Python
Python (3.4.3)
py
Runtime Error
17
2940
236
n = int(input()) x = 0 for i in range(n) : list[] = int(input()) while True : for j in range(n): if list[j] % 2 == 1: break for k in range(n): list[k] = list[k] / 2 x = x + 1 print(x)
s337983701
p03494
u487594898
1577401683
Python
Python (3.4.3)
py
Runtime Error
18
2940
252
n = int(input()) s=list(str,input()) count = 0 for s in range(10) for i in range(n): if type(s[i]/2) ==True : s[i]=s[i]/2 i = i+1 count +=1 elif type(s[i]/2) ==False: break break print(count)
s915382588
p03494
u152554456
1577327146
Python
Python (3.4.3)
py
Runtime Error
102
5584
377
def check(st,count): flag = False new_list = [] for i in st: if i % 2 == 0: new_list.append(i) else: flag = True break if flag: print(count) return else: count += 1 check(new_list, count) n = int(input()) st = lis...
s157684054
p03494
u152554456
1577326647
Python
Python (3.4.3)
py
Runtime Error
17
2940
339
n = int(input()) st = map(int, input().split()) flag = True count = 0 check(st, count) def check(st,count): new_list = [] for i in len(st): if i % 2 == 0: new_list.append(i) else: flag = True break if flag: print(count) return else: count += 1 che...
s162962591
p03494
u152554456
1577326564
Python
Python (3.4.3)
py
Runtime Error
17
2940
330
n = int(input()) st = map(int, input().split()) flag = True count = 0 def check(st,count): new_list = [] for i in len(st): if i % 2 == 0: new_list.append(i) else: flag = True break if flag: print(count) return else: count += 1 check(new_list, cou...
s759925950
p03494
u648679668
1577324193
Python
Python (3.4.3)
py
Runtime Error
17
3060
188
n = 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)
s834045625
p03494
u648679668
1577324033
Python
Python (3.4.3)
py
Runtime Error
17
3060
185
n = 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)
s114733087
p03494
u648679668
1577323697
Python
Python (3.4.3)
py
Runtime Error
17
2940
179
n = 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 print(result-1)
s760841430
p03494
u311669106
1577292777
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
n=int(input()) ln=[int(a) for a in input().split()] while all(a%2==0 for a in ln): ln=[a//2 for a in ln] i+=1 print(i)
s798514879
p03494
u046961553
1577284622
Python
Python (3.4.3)
py
Runtime Error
17
3060
335
s = input() num_list = list(map(int, input().split())) count = -1 while flg_break: count+=1 num_tmp_list = [] for n in num_list: if n % 2 != 0: flg_break = False break else: num_tmp = n / 2 num_tmp_list.append(num_tmp) num_list = num_tmp_li...
s728116575
p03494
u044638697
1577248307
Python
Python (3.4.3)
py
Runtime Error
17
2940
210
def div_count(a): i= 0 while a%2 == 0: a = a/2 i+=1 return i N = int(input()) list = int(input().split()) count=[] for u in range(N): count.append(div_count(list[u])) print(max(count))
s461220772
p03494
u044638697
1577247584
Python
Python (3.4.3)
py
Runtime Error
17
2940
299
N = input() list = input.split() i = 0 def div_list(your_list=list): for v in range(N): if list[v] % 2 == 0: list_a[v] = list[v] / 2 if v== N-1: i+= 1 div_list(list_a) else: break return i print(div_list())
s785451649
p03494
u311669106
1577118792
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
n=int(input()) ln=[int(a) for a in input().split()] i=0 while all(a % 2 ==0 for a in ln): ln=[a/2 foe a in ln] i+=1 print(i)
s623294405
p03494
u311669106
1577118688
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
n=int(input()) ln=[int(a) for a in input().split()] i=0 while all([a % 2 for a in ln]==0): i+=1 print(i)
s386129556
p03494
u553919982
1576979856
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
n = int(input()) l = list(map(int,input().split())) count = 0 while True: for i in n: if l[i]%2 == 0: l[i]//2 else: print(count) exit() count += 1
s437305628
p03494
u992875223
1576900819
Python
Python (3.4.3)
py
Runtime Error
18
3060
123
N = int(input()) A = list(map(int, input().split())) ans = 0 while 1: if A.all(0): break for i in A: i //= 2 print(ans)
s360771203
p03494
u553919982
1576849316
Python
Python (3.4.3)
py
Runtime Error
17
3064
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
s474524957
p03494
u553919982
1576849215
Python
Python (3.4.3)
py
Runtime Error
18
3060
195
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
s779967401
p03494
u553919982
1576848923
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
s557584143
p03494
u553919982
1576848890
Python
Python (3.4.3)
py
Runtime Error
17
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
s432197526
p03494
u553919982
1576848731
Python
Python (3.4.3)
py
Runtime Error
17
2940
189
n = input() l = list(map(int,input().split(" "))) count = 0 while True: for i in range(n): if l[i]%2 == 0: l[i]//2 else: print(count) break count += 1
s114320191
p03494
u311669106
1576721610
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
n=int(input()) ln=[int(a) for a in input().split()] i=0 while all([a for a in ln]%2==0): i+=1 print(i)
s089746270
p03494
u848512577
1576691621
Python
Python (3.4.3)
py
Runtime Error
17
3060
424
input_number = int(input()) input_box = [] error = False counter = 0 for i in range(input_number): input_number2 = int(input()) input_box.append(input_number2) while True: for i in range(input_number): if int(input_box[i]) % 2 != 0: error = True if error == True: break...
s957988811
p03494
u848512577
1576691382
Python
Python (3.4.3)
py
Runtime Error
17
3060
442
input_number = int(input()) input_box = [] error = False counter = 0 for i in range(input_number): input_number2 = int(input()) input_box.append(input_number2) print(input_box) while True: for i in range(input_number): if int(input_box[i]) % 2 != 0: error = True if error == T...
s125439732
p03494
u848512577
1576691338
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38384
442
input_number = int(input()) input_box = [] error = False counter = 0 for i in range(input_number): input_number2 = int(input()) input_box.append(input_number2) print(input_box) while True: for i in range(input_number): if int(input_box[i]) % 2 != 0: error = True if error == T...
s027485936
p03494
u721425712
1576305954
Python
Python (3.4.3)
py
Runtime Error
23
3572
304
n = int(input()) a = list(map(int, input().split())) import math from functools import reduce def gcd(*numbers): return reduce(math.gcd, numbers) def gcd_list(numbers): return reduce(math.gcd, numbers) count = gcd_list(a) ans = 0 while count%2 == 0: ans += 1 count /= 2 print(ans)
s837723479
p03494
u721425712
1576305756
Python
Python (3.4.3)
py
Runtime Error
36
3828
304
n = int(input()) a = list(map(int, input().split())) import math from functools import reduce def gcd(*numbers): return reduce(math.gcd, numbers) def gcd_list(numbers): return reduce(math.gcd, numbers) count = gcd_list(a) ans = 0 while count%2 == 0: ans += 1 count /= 2 print(ans)
s174071152
p03494
u076764813
1576213264
Python
Python (3.4.3)
py
Runtime Error
18
3064
275
n = input() # データの個数 a = input().split() #リストに文字列として格納 t = 0 while True: for i in len(n): if int(a(i-1)) % 2 == 0: a(i-1) = int(a(i-1)/2) if i ==n: t += 1 else: pass else: break print(t)
s990999502
p03494
u076764813
1576212827
Python
Python (3.4.3)
py
Runtime Error
17
2940
243
n = input() # データの個数 a = list(map(int, input().split())) t = 0 while True: for i in len(n): if a(i-1) % 2 == 0: a(i-1) == a(i-1)/2 if i ==n: t += 1 else: pass else: break print(t)
s326566242
p03494
u794910686
1575562830
Python
Python (3.4.3)
py
Runtime Error
19
3188
222
N, A, B = map(int,input().split()) ans = 0 for n in range(N+1): temp = n sum = 0 while (temp>=1): sum += temp%10 temp = int(temp/10) if A <= sum <= B: ans += n print(ans)
s497963999
p03494
u914529932
1575336932
Python
Python (3.4.3)
py
Runtime Error
17
3060
262
dbflag=1 def debug(*args): if dbflag: print(*args) result = 0 N = input() N=int(N) A = input() .split() flag= 1 while flag: for i in A.length: if A[i] %2 == 0: A[i] = A[i] //2 else: flag = 0 break if flag: result += 1 print(result)
s296959465
p03494
u914529932
1575336828
Python
Python (3.4.3)
py
Runtime Error
17
3064
334
dbflag=0 def debug(*args): if dbflag: print(*args) result = 0 N = input() N=int(N) #A = map(int,input() .split()) A = [int(i) for i in input().split(' ')] flag= 1 while flag: for i in range(len(A)): debug(i, A[i]) if A[i] %2 == 0: A[i] = A[i] //2 else: flag = 0 break if flag: result += 1...
s039737589
p03494
u139716791
1575169986
Python
Python (3.4.3)
py
Runtime Error
153
12504
247
# -*- coding: utf-8 -*- import numpy import scipy N = int(input()) A = map(int, input().split()) c = 0 while True: for i, a in enumerate(A): if a%2 == 0: A[i] = A[i]/2 else: break; c += 1 print(c)
s710394027
p03494
u902149880
1574999708
Python
Python (3.4.3)
py
Runtime Error
18
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")-1) printf(round(ans))
s940204664
p03494
u151305655
1574909322
Python
Python (3.4.3)
py
Runtime Error
17
2940
214
N=int(input()) a = [int(i) for i in input().split()] c=0 k=True while k: j=0 for i in a: if i % 2 != 0: k = False break a[j]=a[j]/2 j=j+1 if k==True: c=c+1 print(c)
s403212942
p03494
u151305655
1574909208
Python
Python (3.4.3)
py
Runtime Error
17
2940
214
N=int(input()) a = [int(i) for i in input().split()] c=0 k=True while k: j=0 for i in a: if i%2!=0: k = False break a[j]=a[j]/2 j=j+1 if k ==True: c=c+1 print(c)
s309487432
p03494
u151305655
1574909083
Python
Python (3.4.3)
py
Runtime Error
17
2940
210
N=int(input()) a = [int(i) for i in input().split()] c=0 k=True while k: j=0 for i in a: if i%2!=0: k = False break a[j]=a[j]/2 j=j+1 if k ==True: c=c+1 print(c)
s462763749
p03494
u151305655
1574909023
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
N=int(input()) a = [int(i) for i in input().split()] c=0 k=True while k: j=0 for i in a: if i%2!=0: k = False break a[j]=a[j]/2 j=j+1 if k ==Treue: c=c+1 print(c)
s565166402
p03494
u151305655
1574908517
Python
Python (3.4.3)
py
Runtime Error
17
2940
182
N=int(input()) a = [int(i) for i in input().split()] c=0 while True: for i in a: if i%2!=0: break c=c+1 j=0 while j<N: a[j]=a[j]/2 j=j+1 print(c)
s551461865
p03494
u151305655
1574908477
Python
Python (3.4.3)
py
Runtime Error
17
2940
188
N=int(input()) a = [int(i) for i in input().split()] c=0 while True: for i in a: if i%2!=0: break c=c+1 j=0 while j<N: a[j]=a[j]/2 j=j+1 print(c)
s538471216
p03494
u151305655
1574908364
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
N=int(input()) a = [int(i) for i in input().split()] c=0 while 1: for i in a: if i%2!=0: break c=c+1 j=0 while j<N: a[j]=a[j]/2 j=j+1 print(c)
s893837958
p03494
u875449556
1574556546
Python
Python (3.4.3)
py
Runtime Error
17
3060
286
N = int(input()) arrray = list(map(int,input().split())) fleg = True count = 0 while flag: for i in range(N): if array[i] % 2 == 0: array[i] = array[i] / 2 else: flag = False break else: count += 1 print(count)
s839622162
p03494
u134302690
1574341674
Python
Python (3.4.3)
py
Runtime Error
18
3064
313
n = int(input()) A = [0]*n for i in range(n): A[i]=int(input()) count = 0 f = True while(True): flag = True for i in range(n): if A[i]%2 !=0: flag=False if flag == False: break for i in range(n): if A[i]%2 == 0: A[i]/=2 count+=1 print(count)
s063604235
p03494
u134302690
1574341600
Python
PyPy3 (2.4.0)
py
Runtime Error
170
38256
313
n = int(input()) A = [0]*n for i in range(n): A[i]=int(input()) count = 0 f = True while(True): flag = True for i in range(n): if A[i]%2 !=0: flag=False if flag == False: break for i in range(n): if A[i]%2 == 0: A[i]/=2 count+=1 print(count)
s736874523
p03494
u521020719
1574048989
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38256
198
N = int(input()) numbers = list(map(int, input())) counter = 0 while all(number % 2 == 0 for number in numbers): numbers = [number / 2 for number in numbers] counter += 1 print(counter)
s062404508
p03494
u724687935
1574037130
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38640
305
def main(): N = int(input()) li = list(map(int, input().split())) num_of_operation = 0 while True: for num in li: if num % 2 == 1: break for i in xrange(N): li[i] /= 2 num_of_operation += 1 print(num_of_operation) if __name__ == '__main__': main()
s250060773
p03494
u724687935
1573997602
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
N = input() li = list(map(int, input().split())) cnt = 0 while True: if 1 in (li % 2): break else: cnt += 1 print(cnt)
s562371422
p03494
u028260664
1573860521
Python
Python (3.4.3)
py
Runtime Error
17
2940
262
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()