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
s001106346
p03493
u249218227
1576528164
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
79
li = list(input()) counter = int(li[0) + int(li[1]) + int(li[2]) print(counter)
s218926272
p03493
u249218227
1576527942
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38492
100
li = list(input()) counter = 0 for i in li: if li[i] == "1": counter += 1 print(counter)
s853375477
p03493
u249218227
1576527879
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
li = list(input()) counter = 0 for i in li: if li[i] == "1": counter += 1 print(counter)
s921766365
p03493
u253276391
1576445075
Python
Python (3.4.3)
py
Runtime Error
17
3064
123
N=int(input()) A=list(map(int, input().split())) n=0 while all(a%2==0 for a in A): A=[a/2 for a in A] n+=1 print(n)
s450106347
p03493
u680183386
1576333499
Python
Python (3.4.3)
py
Runtime Error
17
2940
271
n = int(input()) a = list(map(int, input().split())) ans = 0 t=0 while True: for i in range(n): # 0 1 2 ... n-1 if a[i] %2 ==0: a[i] = a[i] / 2 else: t = 1 if t != 1: ans += 1 else: break print(ans)
s517658518
p03493
u680183386
1576333460
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38384
271
n = int(input()) a = list(map(int, input().split())) ans = 0 t=0 while True: for i in range(n): # 0 1 2 ... n-1 if a[i] %2 ==0: a[i] = a[i] / 2 else: t = 1 if t != 1: ans += 1 else: break print(ans)
s952631773
p03493
u680183386
1576333203
Python
PyPy3 (2.4.0)
py
Runtime Error
189
39920
197
n=int(input()) li = list(map(int,input().split())) counter = 0 while 1: judge = [a%2 for a in li] if sum(judge) != 0: break else: counter+=1 li = [a/2 for a in li] print(counter)
s968881852
p03493
u680183386
1576332377
Python
PyPy3 (2.4.0)
py
Runtime Error
160
38256
51
a,b,c = map(int, input().split()) print(str(a+b+c))
s931703714
p03493
u045953894
1576305418
Python
Python (3.4.3)
py
Runtime Error
17
2940
289
n = int(input()) nums = list(map(int,input().split())) ans = 0 while True: for i in range(n): if nums[i] % 2 == 0: nums[i] = nums[i] / 2 else: break if nums[i] % 2 != 0: ans += 1 print(ans) break else: ans +=1
s949334126
p03493
u639592190
1576209599
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
s=list(input(s)) print(s.count("1"))
s609463149
p03493
u085324286
1576189755
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
n = int(input()) nums = list(map(int,input().split())) ans = 0 while sum(nums)%2 == 0: for i in range(n): nums[i]=nums[i]/2 ans +=1 print(ans)
s452956272
p03493
u085324286
1576189676
Python
Python (3.4.3)
py
Runtime Error
17
2940
159
n = int(input()) nums = list(map(int,input().split())) ans = 0 while sum(nums)%2 == 0: for i in range(n): nums[i]=nums[i]//2 ans +=1 print(ans)
s810053631
p03493
u238981370
1576156916
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
print(input.().count("1")
s718847477
p03493
u133566678
1576102754
Python
Python (3.4.3)
py
Runtime Error
19
3064
241
N, K = map(int, input().split()) A = list(map(int, input().split())) #print(N, K, A) A2 = [0] * N for i in range(len(A)): A2[A[i]] += 1 A2.sort(reverse = True) #print(A2) count = 0 for i in range(K): count += A2[i] print(N - count)
s571441146
p03493
u934052933
1576089402
Python
Python (3.4.3)
py
Runtime Error
332
22280
682
import numpy as np def main()->None: N, K = map(int, input().split()) A = [map(int, input().split())] if len(A) > K: set_A = set(A) #print(set_A) count = np.empty(len(set_A), dtype=int) for i, s_a in enumerate(set_A): count[i] = A.count(s_a) sorted_cou...
s576500882
p03493
u626467464
1576045761
Python
Python (3.4.3)
py
Runtime Error
17
2940
199
def how_many(n): ans = 0 while n % 2 == 0: n /= 2 ans += 1 return ans n = int(input()) line = map(int , input().split()) answer = min(map(how_many , line)) print(answer)
s752703008
p03493
u626467464
1576045734
Python
Python (3.4.3)
py
Runtime Error
18
2940
199
def how_many(n): ans = 0 while n % 2 == 0: n /= 2 ans += 1 return ans n = int(input()) line = map(int , input().split()) answer = min(map(how_many , line)) print(answer)
s381580242
p03493
u477343425
1576014430
Python
Python (3.4.3)
py
Runtime Error
17
2940
24
print(input().count('1))
s455757231
p03493
u595375942
1575756086
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38256
43
a,b,c=map(int,input().split()) print(a+b+c)
s236714562
p03493
u595375942
1575755913
Python
PyPy3 (2.4.0)
py
Runtime Error
213
38640
48
a,b,c=map(int,input().split()) print(sum(a,b,c))
s742275825
p03493
u928888261
1575746142
Python
PyPy3 (2.4.0)
py
Runtime Error
201
38640
122
s = list(map(int, input().split())) c = 0 if s[0] == 1: c = c+1 if s[1] == 1: c = c+1 if s[2] == 1: c = c+1 print(c)
s432001955
p03493
u684016074
1575666705
Python
Python (3.4.3)
py
Runtime Error
17
2940
175
s1, s2, s3 = input().split() a = str(s1) b = str(s2) c = str(s3) count = 0 for i in (a, b, c): if a = 1: count += 1 if b = 1: count += 1 if c = 1: count += 1
s234235161
p03493
u373814300
1575662917
Python
Python (3.4.3)
py
Runtime Error
17
3064
520
import itertools cnt_500 = int(input()) cnt_100 = int(input()) cnt_50 = int(input()) target_amount = int(input()) cnt_500_arr = [i for i in range(cnt_500+1)] cnt_100_arr = [i for i in range(cnt_100+1)] cnt_50_arr = [i for i in range(cnt_50+1)] coin_combinations = list(itertools.product(cnt_500_arr, cnt_100_arr, cnt_...
s917593478
p03493
u916662650
1575469117
Python
Python (3.4.3)
py
Runtime Error
17
3060
282
num = int(input()) x = input().split() count = 0 TF = True while TF: for i in range(0,num): number = int(x[i]) if(number%2==0): x[i] = number/2 TF = True else: TF =False if TF: count += 1 print(count)
s727496653
p03493
u916662650
1575467773
Python
Python (3.4.3)
py
Runtime Error
17
3060
291
num = int(input()) x = input().split() count = 0 TF = True while TF: count += 1 for i in range(0,num): number = int(x[i]) if(number%2==0): number = number/2 x[i] = number TF = True else: TF =False print(count)
s210514627
p03493
u231189826
1575305578
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
n = int(input()) s = 0 if int(n/100) == 1: s += 1 if n%100 => 10: s += 1 if n%10 == 1: s += 1 print(s)
s907342022
p03493
u231189826
1575305536
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
n = int(input()) s = 0 if int(n/100) == 1: s ++ if n%100 => 10: s ++ if n%10 == 1: s ++ print(s)
s370010494
p03493
u432699428
1575161162
Python
Python (3.4.3)
py
Runtime Error
17
3064
266
N = int(input()) s = list(map(int, input().split())) a=[0]*N#N個の要素の配列 total=0 for i in range(N): a[i]=int(s[i]) while 1==1: b=0 for i in range(N): if a[i]%2==0: a[i]=a[i]/2 b+=1 if b==N: total+=1 else: break print(total)
s966923931
p03493
u432699428
1575161002
Python
Python (3.4.3)
py
Runtime Error
17
3064
264
N = int(input()) s = list(map(int, input().split())) a=[0]*N#N個の要素の配列 b=0 total=0 for i in range(N): a[i]=int(s[i]) while 1==1: for i in range(N): if a[i]%2==0: a[i]=a[i]/2 b+=1 if b==N: total+=1 else: break print(total)
s799893174
p03493
u432699428
1575157471
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
s=list(input().split()) a=int(s[0]) b=int(s[1]) c=int(s[2]) if a==1: d=1 else: d=0 if b==1: d+=1 if c==1: d+=1 print(d)
s472246886
p03493
u117348081
1575068305
Python
Python (3.4.3)
py
Runtime Error
20
2940
46
s = list(int(input())) ans = sum(s) print(ans)
s060676770
p03493
u751937299
1574920312
Python
Python (3.4.3)
py
Runtime Error
158
14488
352
import numpy as np N = int(input()) data = np.array([int(i) for i in input().split()]) cout = 0 while 1: index = np.where(data%2 == 0) data_even = data[index] # print(data_even) # print(len(data_even) == len(data)) if len(data_even) == len(data): cout += 1 data = data_even / 2 e...
s689909047
p03493
u751937299
1574918108
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
S = input() cout = 0 for i in range(0,len(S)): if S[i] == '1': cout += 1 return cout
s165944922
p03493
u151305655
1574907144
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
N=input() s=0 for i in N: if i=="1": s++ print(s)
s078002204
p03493
u151305655
1574907012
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
N=input() s=0 for i in N: if i=='1': s++ print(s)
s547847772
p03493
u871867619
1574672524
Python
Python (3.4.3)
py
Runtime Error
17
2940
304
N = int(input()) arr = [int(i) for i in input().split()] count = 0 while(True): for i in range(N): if arr[i] % 2 == 0: arr[i] = arr[i] / 2 if i == 2: count += 1 else: break else: continue break
s589557054
p03493
u871867619
1574672271
Python
Python (3.4.3)
py
Runtime Error
17
3060
317
N = int(input()) arr = [int(i) for i in input().split()] count = 0 while(True): for i in range(N): if arr[i] % 2 == 0: arr[i] = arr[i] / 2 if i == 2: count += 1 else: break else: continue break print(count)
s777255589
p03493
u871867619
1574672201
Python
Python (3.4.3)
py
Runtime Error
17
2940
266
N = int(input()) arr = [int(i) for i in input().split()] count = 0 while(True): for i in range(N): if arr[i] % 2 == 0: arr[i] = arr[i] / 2 if i == 2: count += 1 else: exit()
s935977681
p03493
u798731634
1574356487
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input().count(1))
s182870726
p03493
u798731634
1574317688
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
counter = 0 for s[i] in range(2): if s[i] == 1: counter += 1 else: pass print(counter)
s114997491
p03493
u798731634
1574317118
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
s1 , s2, s3 = map(int, input().split()) print(s1 + s2 + s3)
s734331966
p03493
u943802805
1574271606
Python
Python (3.4.3)
py
Runtime Error
19
3060
105
import sys def count(): s1 = int(input()) s2 = int(input()) s3 = int(input()) print(s1+s2+s3) count()
s990826284
p03493
u943802805
1574271406
Python
Python (3.4.3)
py
Runtime Error
19
2940
94
def count(): s1 = int(input()) s2 = int(input()) s3 = int(input()) print(s1+s2+s3) count()
s890171477
p03493
u943802805
1574271279
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
s1 = int(input()) s2 = int(input()) s3 = int(input()) print(s1+s2+s3)
s379185886
p03493
u943802805
1574270987
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
s1 = int(input()) s2 = int(input()) s3 = int(input()) print(s1+s2+s3)
s670974613
p03493
u045953894
1574196566
Python
Python (3.4.3)
py
Runtime Error
17
3060
163
s=int(input()) s=str(s) a=int(s[0]);b=int(s[1]);c=int(s[2]) sum=a+b+c if sum == 0: print(0) elif sum == 1: print(1) elif sum == 2: print(2) else: print(3)
s525263950
p03493
u045953894
1574195976
Python
Python (3.4.3)
py
Runtime Error
17
3060
171
s=int(input()) s=str(s) a=int(s[0]);b=int(s[1]);c=int(s[2]) sum=a+b+c if sum == 0: print('0') elif sum == 1: print('1') elif sum == 2: print('2') else: print('3')
s866242740
p03493
u201565171
1574049925
Python
Python (3.4.3)
py
Runtime Error
21
3316
284
N=int(input()) A=list(map(int,input().split())) flg=1 count=0 while True: for i in A: #全て偶数か確かめる if i%2==1: flg=0 break if flg==1: for i in A: i=i//2 count+=1 else: break print(count)
s591976609
p03493
u062314674
1574039885
Python
Python (3.4.3)
py
Runtime Error
18
3060
156
string = list(int(input())) if string[0] + string[1] + string[2] == 0: print(0) elif string[0] + string[1] + string[2] == 1: print(1) else: print(2)
s263452343
p03493
u724687935
1574037718
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38512
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 range(N): li[i] //= 2 num_of_operation += 1 print(num_of_operation) if __name__ == '__main__': main()
s385231652
p03493
u521020719
1573790873
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
x = input() counter = 0 a = [counter +=1 for i in x if i == '1'] print(counter)
s837093974
p03493
u867826040
1573788749
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38768
134
n = input() A = list(map(int, input().split())) _ = 0 while all(a % 2 == 0 for a in A): A = [i/2 for i in A] _ += 1 print(_)
s315734793
p03493
u522506260
1573622396
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print(list(str(intput())).count("1"))
s227436682
p03493
u592547545
1573620600
Python
Python (3.4.3)
py
Runtime Error
17
3060
200
n = int(input()) a = list(map(int,input().split())) cnt=0 flag=True while(flag): for i in range(n): if(a[i]%2==0): a[i]=a[i]//2 else: flag=False break cnt+=1 print(cnt-1)
s509966902
p03493
u592547545
1573620428
Python
Python (3.4.3)
py
Runtime Error
17
2940
206
n = int(input()) a = list(map(int,input().split())) cnt=0 flag=True while(flag): for i in range(len(a)): if(a[i]%2==0): a[i]=a[i]//2 else: flag=False break cnt+=1 print(cnt-1)
s041081097
p03493
u923659712
1573335880
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
h=int(input()) g=0 for i in range(3): if h[i]==1: g+=1 print(g)
s282956222
p03493
u923659712
1573335843
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
h=int(input()) g=0 for i in range(3): if h[i]==1: i+=1 print(g)
s160553713
p03493
u586527678
1573152448
Python
Python (3.4.3)
py
Runtime Error
17
3060
274
n = input() a = list(map(int,input().split())) def iseven(i,num_list): count = 0 for num in num_list: if num % 2 != 0: return False return True num_divided = 0 while iseven(n,a) : a = list(map(lambda x: x / 2, a )) num_divided += 1 print(num_divided)
s560173945
p03493
u741279737
1573012143
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
110
s1, s2, s3 = map(int, input().split()) a = 0 if s1 =1 or s2 =1 or s3 = 1: a += 1 else: a += 0 print(a)
s755630331
p03493
u038903257
1573009411
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
s1=input('s1') s2=input('s2') s3=input('s3') print(s1+s2+s3) s=[s1,s2,s3] print(s.count('1'))
s152613466
p03493
u162623535
1572991924
Python
Python (2.7.6)
py
Runtime Error
10
2696
162
num = int(raw_input()) list = map(int, raw_input().split()) i = 0 while 1 not in map(lambda x: x % 2, list): list = map(lambda x: x >> 1, list) i += 1 print i
s227984662
p03493
u633548583
1572903481
Python
Python (3.4.3)
py
Runtime Error
18
2940
122
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)
s392806109
p03493
u303163217
1572874199
Python
Python (3.4.3)
py
Runtime Error
18
3060
267
N = int(input()) numbers = list(map(int, input().split())) canDevide = True count = 0; while canDevide : for i in range(N) : if numbers[i]%2 == 0 : numbers[i] /= 2 else : canDevide = False break if canDevide : count += 1 print(count)
s486733632
p03493
u507113442
1572727257
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
print(input().count('1'))
s068514317
p03493
u507113442
1572727141
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
print(input().count('1'))
s526759730
p03493
u507113442
1572727098
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
print(input.count('1'))
s005105263
p03493
u831752983
1572658535
Python
Python (3.4.3)
py
Runtime Error
18
3064
194
n,k=map(int,input().split()) a=list(map(int,input().split())) count=[0]*n for i in range(n): count[a[i]-1] += 1 count.sort() sum=0 for i in range(k): sum += count[n-1-i] print(max(0,n-sum));
s859192584
p03493
u297230790
1572638029
Python
Python (3.4.3)
py
Runtime Error
17
2940
24
print(input().count('1')
s205272967
p03493
u297230790
1572637843
Python
Python (3.4.3)
py
Runtime Error
17
2940
22
print(input().count(1)
s691334647
p03493
u566619532
1572461560
Python
Python (3.4.3)
py
Runtime Error
17
2940
189
x = input() a = list(x) a = [int(s) for s in x] b = 0 for i in range(3): if a[i] == 1: b += 1 print(b)
s297977293
p03493
u566619532
1572460755
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
a = list(map(int, input().split(//))) b = 0 for i in range(3): print(a[i]) if a[i] == 1: b += 1 print(b)
s779816583
p03493
u122231433
1572453870
Python
Python (3.4.3)
py
Runtime Error
17
2940
184
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))
s203835128
p03493
u010681465
1572258200
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
i =int(input()) a = [int(i) for i in str(i)] s = a[0]+a[1]+a[2] print(s)
s120152183
p03493
u633000076
1572121544
Python
Python (3.4.3)
py
Runtime Error
17
3060
278
N=int(input()) S=list(map(int,input().split())) shingi=True total=0 while shingi==True: count=0 for i in S: if i%2==0: count+=1 else: shingi=False if count==len(S): total+=1 S=list(map(lambda x:x/2,S)) print(total)
s351284597
p03493
u651793628
1571970671
Python
Python (3.4.3)
py
Runtime Error
17
3060
282
#input N = int(input()) A = list(map(int,input().split())) count = 0 flag = 0 #loop while(1): for i in range(N): if A[i] %2 == 1: flag = 1 else: temp = A[i]/2 A[i] = temp; #judge if flag == 1: break else: count +=1 print(count)
s949618069
p03493
u735069283
1571880858
Python
Python (3.4.3)
py
Runtime Error
19
3188
45
a,b,c = map(int,input().split()) print(a+b+c)
s042476124
p03493
u686325574
1571878138
Python
Python (3.4.3)
py
Runtime Error
17
2940
218
n = int(input()) nums = list(map(int, input().split(" "))) res = 0 even = all(num % 2 = 0 for num in nums) while even: nums = [num//2 for num in nums] res =+ 1 even = all(num % 2 == 0 for num in nums) print(res)
s313933021
p03493
u585616158
1571781715
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a = int(input()) si_1 = [str(a)[i]=='1' for i in range(3)] print(si_1.count(True))
s189178517
p03493
u205087376
1571777876
Python
Python (3.4.3)
py
Runtime Error
19
2940
45
m = int(input()) c = m[0]+m[1]+m[2] print(c)
s196232269
p03493
u254871849
1571769454
Python
Python (3.4.3)
py
Runtime Error
19
2940
104
ls = list(map(int, input().split())) count = 0 for i in ls: if ls[i] == 1: count += 1 print(count)
s892262929
p03493
u886655280
1571559540
Python
Python (3.4.3)
py
Runtime Error
20
3060
653
# 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 ...
s466389812
p03493
u219157465
1571532195
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38640
457
def main(): n = int(input()) a_list = list(map(int, input().split())) temp_list = [] count = 0 is_ongoing = True while is_ongoing: for a in a_list: if a % 2 == 0: temp_list.append(a/2) else: is_ongoing = False print...
s359300487
p03493
u034782764
1571426021
Python
Python (3.4.3)
py
Runtime Error
149
12504
211
import numpy as np 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_divisibles,a)) print(ans)
s038215974
p03493
u451781098
1571375695
Python
Python (3.4.3)
py
Runtime Error
17
2940
220
#include<iostream> using namespace std; int main() { char str[3]; cin >> str; int cnt = 0; for (int i = 0; i < 3; i++){ if (str[i] == '1') cnt += 1; } cout << cnt << endl; return 0; }
s666756971
p03493
u246572032
1571345059
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
s1, s2, s3 = input().split() print(s1,s2,s3.pop = 1)
s858664318
p03493
u034782764
1571342267
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
s=int(input()) counter=0 for n in range(3): if s[n]==1: counter+=1 print(counter)
s208773821
p03493
u783175749
1571329977
Python
Python (3.4.3)
py
Runtime Error
17
2940
138
s=input() count = 0 if s[0] == '1':     count += 1 if s[1] == '1':     count += 1 if s[2] == '1':     count += 1 print(count)
s612790896
p03493
u783175749
1571245333
Python
Python (3.4.3)
py
Runtime Error
18
2940
179
s=input() count = 0 if s[0] == 1:     count += '1' elif s[1] == 1:     count += '1' elif s[2] == 1:     count += '1' else:     count = 0     print(count('1'))
s105107324
p03493
u783175749
1571245221
Python
Python (3.4.3)
py
Runtime Error
17
3068
160
s=input() count = 0 if s[0] == 1: count += '1' elif s[1] == 1: count += '1' elif s[2] == 1: count += '1' else: count = 0 print(count('1')
s370611435
p03493
u783175749
1571244472
Python
Python (3.4.3)
py
Runtime Error
17
2940
156
s=input() count = 0 if s[0] = 1: count + = 1 elif s[1] = 1: count + = 1 elif s[2] = 1: count + = 1 else: count = 0 print(s.count('1')
s398622863
p03493
u783175749
1571244456
Python
Python (3.4.3)
py
Runtime Error
17
2940
156
s=input() count = 0 if s[0] = 1: count + = 1 elif s[1] = 1: count + = 1 elif s[2] = 1: count + = 1 else: count = 0 print(s.count('1')
s858108689
p03493
u783175749
1571244258
Python
Python (3.4.3)
py
Runtime Error
17
3068
109
s=input() if s[0] = 1: con + = 1 elif s[1] = 1: con + = 1 elif s[2] = 1: con + = 1 print(1)
s276858750
p03493
u783175749
1571180853
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
s = int(input()) print(s.count('1'))
s075202794
p03493
u190616335
1571180580
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
abc = input() x = 0 for i range(0,3): if abc[i] == "1": x += 1 print(x)
s401479221
p03493
u783175749
1571179797
Python
Python (3.4.3)
py
Runtime Error
17
2940
131
s=int(input()) if s[0] == 1: print(1) elif s[1] == 1: print(1) elif s[2] == 1: print(1) else: print(0) s.count(1)
s662900654
p03493
u783175749
1571179725
Python
Python (3.4.3)
py
Runtime Error
21
3316
72
s1=int(input()) s2=int(input()) s3=int(input()) S=[s1,s2,s3] S.count(1)
s334118641
p03493
u783175749
1571179337
Python
Python (3.4.3)
py
Runtime Error
17
2940
135
s=int(input()) if s[0] == 1: print(a) elif s[1] == 1: print(a) elif s[2] == 1: print(a) else: print(b) print(count(a))
s243901311
p03493
u075303794
1571143318
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() print(s.count(1))
s489888205
p03493
u535258729
1571085086
Python
Python (3.4.3)
py
Runtime Error
21
3316
134
N = int(input()) A = list(map(int, input().split())) n = 0 while all(i%2==0 for i in A): A = [a/2 for a in A] n += 1 print(n)
s954485117
p03493
u661347997
1570769914
Python
Python (3.4.3)
py
Runtime Error
17
2940
162
n = input() s = [int(x) for x in input().split(' ')] count = 0 while sum(map(lambda x: x%2, s)) == 0: s =list(map(lambda x: x/2, s)) count+=1 print(count)