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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s241153140 | p03493 | u615590527 | 1591821008 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | n = input()
li = list(map(int,input().split()))
count = 0
while all(a % 2 == 0 for a in li):
count += 1
li = [b / 2 for b in li]
print(count) |
s446009587 | p03493 | u923894634 | 1591819620 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | s1, s2, s3 = map(int,input().split())
list = [s1,s2,s3]
a = list.count(1)
print(a)
|
s919676078 | p03493 | u923894634 | 1591819590 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 82 | s1, s2, s3 = map(int,input().split())
list = [s1,s2,s3]
a = list.count(1)
print(a) |
s588208548 | p03493 | u923894634 | 1591819462 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2696 | 74 | s1 s2 s3 = map(int,input().split())
list = [s1,s2,s3]
print(list.count[1]) |
s369006720 | p03493 | u961288441 | 1591788415 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 183 | a, b, c = map(int, input().split())
element = [a, b, c]
marble = 0
for x in element:
if x == 1:
marble +=1
element = [a, b, c]
marble = 0
for x in element:
if x == 1:
marble +=1 |
s062432081 | p03493 | u793505885 | 1591754579 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | N = int(input())
raw = list(map(int, input().split()))
for i in raw:
cnt = 0
while i % 2 == 0:
i //= 2
cnt += 1
print(cnt) |
s971901207 | p03493 | u793505885 | 1591754536 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 156 | N = int(input())
raw = list(map(int, input().split()))
cnt = 0
for i in raw:
cnt = 0
while i % 2 == 0:
i //= 2
cnt += 1
print(cnt) |
s523245994 | p03493 | u970405667 | 1591715046 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 233 | n = int(input())
a = list(map(int, input().split()))
count = 0
while True:
for i in range(n):
if a[i] % 2 == 0:
a[i] /= 2
else:
print(count)
exit()
count += 1
print(count) |
s854048077 | p03493 | u970405667 | 1591714621 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 252 | N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
num = 0
exist_odd = True
while exist_odd:
num += 1
for i in range(N):
if a[i] % 2 == 0:
a[i] /= 2
else:
exist_odd = False
else:
print(num - 1) |
s648211874 | p03493 | u970405667 | 1591713938 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 252 | N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
num = 0
exist_odd = True
while exist_odd:
num += 1
for i in range(N):
if a[i] % 2 == 0:
a[i] = a[i] / 2
else:
exist_odd = False
else:
print(num - 1) |
s496793411 | p03493 | u970405667 | 1591713730 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 245 | N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
num = 0
exist_odd = True
while exist_odd:
num += 1
for i in range(N):
if a[i] % 2 == 0:
a[i] = a[i] / 2
else:
exist_odd = False
print(num - 1) |
s385774674 | p03493 | u042347918 | 1591674921 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | a, b, c = map(int, input().split())
s = [a, b, c]
#print(s)
counter = s.count(1)
print(counter) |
s554423249 | p03493 | u439676056 | 1591559618 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | import sys
input = sys.stdin.readline
list = [map(int, input().split())]
print(sum(list)) |
s201682649 | p03493 | u088553842 | 1591412006 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 218 | import sys
n = int(input())
lst = list(map(int, input().split()))
res = 0
for p in range(200):
for i in range(n):
if lst[i] % 2 == 1:
print(res)
sys.exit()
lst = [int(j / 2) for j in lst]
res += 1 |
s699030837 | p03493 | u088553842 | 1591411891 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 209 | import sys
n = int(input())
lst = list(map(int, input().split()))
res = 0
while True:
for i in range(n):
if lst[i] % 2 == 1:
print(res)
sys.exit()
lst = [int(j / 2) for j in lst]
res += 1 |
s644314075 | p03493 | u088553842 | 1591409703 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 202 | n = int(input())
lst = map(str, input().split())
res = 0
def f(l):
while True:
for i in l:
if int(i[-1]) % 2 == 1:
return res
l = [str(int(j) / 2) for j in l]
res += 1
f(lst) |
s635914021 | p03493 | u055507189 | 1591246621 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 48 | a, b, c = map(int, input().split())
print(a+b+c) |
s809941725 | p03493 | u794186882 | 1591034931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | a = list(map(int,input().split))
k = 0
for i in a:
if(i==1):
k += 1
print(k) |
s195505572 | p03493 | u794186882 | 1591034806 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 83 | a = input().split()
k = 0
for int(i) in a:
if(i == 1):
k += 1
print(k) |
s802964725 | p03493 | u414338455 | 1590965110 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | a = map(str, input().split())
b=0
if a[0]="1":
b+=1
else if a[1]="1":
b+=1
else if a[2]="1":
b+=1
print(b)
|
s700512531 | p03493 | u853187694 | 1590964699 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | a,b,c = map(int,input().split())
counter = 0
if a ==1:
counter += 1
if b ==1:
counter += 1
if c ==1:
counter += 1
print(counter) |
s252042437 | p03493 | u063614215 | 1590893720 | Python | Python (3.4.3) | py | Runtime Error | 146 | 12392 | 107 | import numpy as np
s_list = [int(i) for i in list(input())]
ans = np.count_nonzero(s_list>0)
print(ans) |
s175232375 | p03493 | u095403885 | 1590820897 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 101 | lst = [int(i) for i in input().rstrip().split('')]
c=0
for l in lst:
if l == 1:
c += 1
print(c) |
s246213089 | p03493 | u956433805 | 1590561038 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 281 | N, K = map(int, input().split())
A = list(map(int, input().split()))
li = []
ans = 0
B = set(A)
cnt = len(B)
for x in B:
a = A.count(x)
li.append(a)
li = sorted(li)
if cnt - K > 0:
for x in range(cnt - K):
ans += li[x]
print(ans)
else :
print(ans) |
s468119882 | p03493 | u762824322 | 1590394966 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 314 | # -*- coding: utf-8 -*-
def div(n):
return int(n / 2)
N = int(input())
A = list(map(int, input().split()))
r = 0
flag = False
while (True):
for x in A:
if x % 2 == 1:
flag = True
break
if (flag):
break
r += 1
A = list(map(div, A))
print(r)
|
s657785130 | p03493 | u762824322 | 1590394845 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 314 | # -*- coding: utf-8 -*-
def div(n):
return int(n / 2)
N = int(input())
A = list(map(int, input().split()))
r = 0
flag = False
while (True):
for x in A:
if x % 2 == 1:
flag = True
break
if (flag):
break
r += 1
A = list(map(div, A))
print(r)
|
s713370507 | p03493 | u039860745 | 1590376284 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 225 | n = input()
li = list(map(int, input().split()))
count = 0
#all 全ての要素がTrueならTrue
while all(a % 2 == 0 for a in li):
li = [ a / 2 for a in li]
count += 1
# a,b = map(int, input().split())
print(count) |
s035327239 | p03493 | u874001579 | 1590370973 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 315 | #prep
n = int(input())
m = list(map(int, input().split())) #initial values
asmt = [0]*n
cnt = 0
#assessment
while True:
a = list(map(lambda x: x*(1/2)**(cnt+1), m))
for i in range(n):
asmt[i] = a[i].is_integer()
if all(asmt) == False:
break
else: cnt = cnt+1
print(cnt) |
s509735014 | p03493 | u350093546 | 1590368493 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | s=input()
print(s.count(1)) |
s247381986 | p03493 | u902040736 | 1590349616 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 61 | s = list(input())
for i in s:
sum += int(i)
print(sum)
|
s644391292 | p03493 | u902040736 | 1590349453 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 73 | s = input().split()
for i in range(2):
sum += int(s[i])
print(sum)
|
s955711796 | p03493 | u902040736 | 1590349378 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | s = input().split()
for i in s:
sum += int(i)
print(sum)
|
s695704304 | p03493 | u902040736 | 1590349103 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | s = input().split()
for i in s:
sum += int(s[i])
print(sum)
|
s743133018 | p03493 | u818542539 | 1590282420 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 221 | N = int(input())
As = [int(c) for c in input().split()]
counter = 0
w = 0
while w == 0:
for i in range(N):
if As[i] % 2 != 0:
w = 1
As[i] = int(As[i] / 2)
counter += 1
print(counter) |
s283873866 | p03493 | u607437307 | 1590211550 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | m = input()
print(f"{int(m[0])+int(m[1])+int(m[2])}", end="") |
s442194917 | p03493 | u607437307 | 1590211525 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 53 | m = input()
print(f"{int(m[0])+int(m[1])+int(m[2])}") |
s048423914 | p03493 | u607437307 | 1590211304 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | m = input()
#000 = 0
#001 = 1
#011 = 2
#111 = 3
print(f"{int(m[0])+int(m[1])+int(m[2])}") |
s223306596 | p03493 | u143485326 | 1590188937 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 164 | N = int(input())
An = list(map(int, input().split()))
count = 0
while all(an % 2 == 0 for an in An):
count += 1
An = [an/2 for an in An]
print(count) |
s672355471 | p03493 | u143485326 | 1590188891 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 160 | N = int(input())
An = list(map(int, input().split()))
count = 0
while all(a % 2 == 0 for a in A):
count += 1
An = [an/2 for an in An]
print(count) |
s877158516 | p03493 | u143485326 | 1590188687 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 150 | N = int(input())
An = list(map(int, input().split()))
count = 0
while sum(An) % 2 == 0:
count += 1
An = [an/2 for an in An]
print(count) |
s223522137 | p03493 | u143485326 | 1590188548 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 150 | N = int(input())
An = list(map(int, input().split()))
count = 0
while sum(An) % 2 == 0:
count += 1
An = [an/2 for an in An]
print(count) |
s849658714 | p03493 | u202406075 | 1590033604 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 153 | n = int(input())
a = list(map(int,input().split()))
ans = 0
while all( A%2 == 0 for A in a ):
a = [ i/2 for i in a ]
ans += 1
print(ans)
|
s879925292 | p03493 | u062484507 | 1589984482 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38640 | 151 | n = int(input())
a = [int(i) for i in input().split()]
count = 0
while all(i % 2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count) |
s784206608 | p03493 | u566574814 | 1589845867 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 90 | s = input()
cnt = 0
for i in range(len(s)):
if a[i] == '1':
cnt+=1
print(cnt) |
s903957879 | p03493 | u629607744 | 1589758102 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | s = list(input().split())
print(s[0] + s[1] + s[2]) |
s295630650 | p03493 | u923270446 | 1589735517 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 16 | print(input()%9) |
s549426135 | p03493 | u957390897 | 1589692148 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 134 | s1,s2,s3 = map(int, input().split())
count = 0
mapList = [s1,s2,s3]
for map in mapList:
if map == 1:
count += 1
print(count) |
s085957542 | p03493 | u957390897 | 1589691835 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 169 | s1,s2,s3 = map(int, input().split())
count = 0
print(str(s1) + str(s2) +str(s3))
mapList = [s1,s2,s3]
for map in mapList:
if map == 1:
count += 1
print(count) |
s866878407 | p03493 | u957390897 | 1589691706 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 158 | s1,s2,s3 = map(int, input().split())
count = 0
print(s1,s2,s3)
mapList = [s1,s2,s3]
for map in mapList:
if map == 1:
count += 1
pass
print(count) |
s013193115 | p03493 | u806257533 | 1589652873 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 212 | N = int(input())
A = list(map(int, input().split()))
cnt = 0
while True:
for i in range(N):
if A[i]%2==1:
break
A[i] = A[i]//2
else:
cnt += 1
continue
break |
s497853786 | p03493 | u552510302 | 1589605964 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 203 | a = int(input())
b = list(map(int,input().split()))
ans = 0
x = True
while x:
for i in range(a):
if b[i] %2 ==1:
x=False
break
b[i] = b[i] /2
ans +=1
ans = ans//a
print(ans) |
s254746136 | p03493 | u552510302 | 1589603030 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | a = int(input())
b = list(map(int,input().split()))
ans = 0
while sum(b)%2 ==0:
ans +=1
b=[ i/2 for i in b]
print(ans) |
s667029285 | p03493 | u552510302 | 1589602781 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | a = int(input())
b = list(map(int,input().split()))
b.sort()
ans = 0
n = b[0]
while n % 2 ==0:
ans +=1
n = n/2
print(ans) |
s233737008 | p03493 | u115877451 | 1589424163 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9024 | 33 | a=list(input())
print(a.index(1)) |
s849341695 | p03493 | u782269159 | 1589407421 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 28 | a = int(input())
print(a[0]) |
s760410533 | p03493 | u000842852 | 1589395690 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 164 | def how_many(n):
count = 0
while n%2==0:
n /= 2
count += 1
return count
N = int(input())
A = map(int, input().split())
print(min(map(how_many, A))) |
s553441379 | p03493 | u000842852 | 1589392964 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 136 | a,b,c = map(int, input().split())
if a+b+c==0:
print(0)
elif a+b+c==1:
print(1)
elif a+b+c==2:
print(2)
elif a+b+c==3:
print(3) |
s731275243 | p03493 | u436660228 | 1589133301 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s=input()
ans=s.count(1)
print(ans) |
s871377950 | p03493 | u752114241 | 1589124512 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(input(),count("1")) |
s847883478 | p03493 | u752114241 | 1589124372 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 26 | print(input(),count("1"))
|
s594612070 | p03493 | u792671636 | 1589118492 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 188 | import sys
n = input()
l = list(map(int, input().split()))
loop = 1
while (1):
for i in l:
if (i % (2 ** (loop + 1)) != 0):
print(loop )
sys.exit(0)
loop = loop + 1
|
s922509902 | p03493 | u792671636 | 1589118407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 185 | import sys
n = input()
l = list(map(int, input().split()))
loop = 1
while (1):
for i in l:
if (i % (2 ** loop) != 0):
print(loop - 1)
sys.exit(0)
loop = loop + 1
|
s144167197 | p03493 | u967822229 | 1589055416 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 63 | s=input()
c=0
range(i, s):
if i=="1":
c++
print(c) |
s284967141 | p03493 | u592819389 | 1588880950 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | S1, S2, S3 = map(int,input().split())
S = S1 + S2 + S3
print(str(S)) |
s655200632 | p03493 | u592819389 | 1588879967 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | S1, S2, S3 = map(int,input().split()) #'1'あるいは'0'
print(str(S1 + S2 +S3)) |
s477414212 | p03493 | u554637745 | 1588872783 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | a = input()
if a[0] == 1:
b ++
if a[1] == 1:
b ++
if a[2] == 2:
b ++
print(b) |
s596956569 | p03493 | u556657484 | 1588837272 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 238 | N = int(input())
A = list(map(int, input().split()))
count = 0
flag = 0
while flag == 0:
for i in range(N):
if (A[i] % 2 == 0):
A[i] = A[i] / 2
else:
flag = 1
count += 1
print(count - 1)
|
s893594876 | p03493 | u409254176 | 1588802411 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | print(a=list(input())
b=0
for i in range(3):
if a[i]=='1':
b=b+1
print(b) |
s769249601 | p03493 | u165268875 | 1588802230 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | sss = input()
print(sss.count(1))
|
s475266575 | p03493 | u584520370 | 1588798302 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 287 | n = int(input())
a = list(map(int, input().split()))
t = 0
f = False
while True :
for i in range(n):
if a[i] % 2 == 0 :
a[i] //= 2
else :
f = True
break
if f == True :
print(t)
break
else :
t += 1 |
s797384712 | p03493 | u465652095 | 1588797748 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 25 | print(input(),count("1")) |
s095706423 | p03493 | u980783809 | 1588797669 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 235 | a = int(input())
list = list(map(int, input().split()))
cnt=0
ok = True
while ok:
for i in list:
if not i%2==0:
ok = False
break
if ok : cnt += 1
list = [int(i / 2) for i in list]
print(cnt) |
s588531025 | p03493 | u122428774 | 1588790437 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38384 | 24 | print(sum(int(input()))) |
s961805846 | p03493 | u978356848 | 1588783130 | Python | Python (3.4.3) | py | Runtime Error | 149 | 12488 | 193 | # -*- coding: utf-8 -*-
import numpy as np
count=0
num_of_nums=input()
nums=np.array(input().split())
nums=nums.astype(int)
while np.all(nums%2==0):
nums=nums/2
count+=1
print(count) |
s767090227 | p03493 | u978356848 | 1588783045 | Python | Python (3.4.3) | py | Runtime Error | 147 | 12488 | 193 | # -*- coding: utf-8 -*-
import numpy as np
count=0
num_of_nums=input()
nums=np.array(input().split())
nums=nums.astype(int)
while np.all(nums%2==0):
nums=nums/2
count+=1
print(count) |
s013683077 | p03493 | u294721290 | 1588737606 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 24 | print(input().count("1") |
s068534441 | p03493 | u769538311 | 1588733093 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 249 | N = int(input())
a = list(map(int, input().split()))
c = 0
bool = True
while (bool):
for i in range(N):
if a[i] % 2 == 0:
a[i] = a[i] / 2
else:
bool = False
break
else:
c += 1 |
s732525454 | p03493 | u769538311 | 1588731836 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 237 | import sys
N = int(input())
a = list(map(int, input().split()))
c = 0
while True:
for i in range(N):
if a[i] % 2 == 0:
a[i] = a[i] / 2
else:
print(c)
sys.exit()
c += 1
print(c) |
s327447177 | p03493 | u840485969 | 1588730352 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | s = string(input())
cnt = 0;
for temp in s:
if temp == "1":
cnt += 1
print(cnt) |
s554157756 | p03493 | u737508101 | 1588724832 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 182 | 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)
|
s854695625 | p03493 | u737508101 | 1588724780 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 291 | import sys
def main():
N = int(input())
A = [int(_) for _ in input().split()]
t = 0
while True:
for i in range(N):
if A[i] % 2 == 0:
A[i] //= 2
else:
print(t)
sys.exit()
t += 1
main()
|
s276080077 | p03493 | u034418163 | 1588717084 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 297 | n = input()
n = int(n)
list = [0] * n
list = input().split()
for i in range(n):
list[i] = int(list[i])
bool = True
count = 0
while(bool):
for i in range(len(list)):
if(list[i]%2 == 0):
list[i] /= 2
else:
bool = False
count += 1
print(count-1) |
s593787943 | p03493 | u413970908 | 1588655219 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input.count("1")) |
s103839129 | p03493 | u568711768 | 1588648124 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | A = input()
s = 0
for i in range(1,3):
if A[i]="1":
s = s + 1
print(s) |
s964233294 | p03493 | u568711768 | 1588648083 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | A = input()
s = 0
for i in range(0,3):
if A[i]="1":
s = s + 1
print(s) |
s034978188 | p03493 | u568711768 | 1588647965 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | A = input()
s = 0
for i in range(0,2):
if A[i]="1":
s = s + 1
print(s) |
s433880288 | p03493 | u568711768 | 1588647720 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | A = int(input())
s = 0
for i in range(0,2):
if A[i]==1:
s = s +1
print(s) |
s038912171 | p03493 | u973108807 | 1588640465 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 30 | s = input()
print(s.count('1') |
s906861397 | p03493 | u652656291 | 1588627242 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | s = int(input())
print(s.count('1')) |
s026988720 | p03493 | u534319350 | 1588620382 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 177 | a,b,c = (int(i) for i in input().split())
if a + b + c == 0:
print(0)
elif a + b + c == 1:
print(1)
elif a + b + c == 2:
print(2)
elif a + b + c == 3:
print(3)
|
s576739818 | p03493 | u508934152 | 1588600215 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 37 | D = int(input())
print(D.count('0')) |
s907312003 | p03493 | u634944735 | 1588525249 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 93 | s = input()
count = 0
for i in s:
if s[i] == '1':
count = count + 1
print(count) |
s453887798 | p03493 | u634944735 | 1588525175 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | s = input()
count = 0
for i in s:
if i == '1':
count++
print(count) |
s975785486 | p03493 | u634944735 | 1588525138 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | s = input()
count = 0
for i in s:
if s[i] == '1':
count++
print(count) |
s950730869 | p03493 | u634944735 | 1588525109 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | s = input()
count = 0;
for i in s:
if s[i] == '1':
count++
print(count) |
s316951394 | p03493 | u231959533 | 1588478515 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a[]=input()
count = 0
fot i in range(3)
if a[i] = 1:
count = count + 1
print(count) |
s145169651 | p03493 | u809707730 | 1588441316 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | s=map(int,input())
count=0
for i in range(3):
if s[i]==1:
count+=1
print(count) |
s125542729 | p03493 | u568711768 | 1588423050 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | N = input()
s = 0
for i in range(0,2):
if N[i] = 1:
s = s + 1
print(s) |
s180444706 | p03493 | u568711768 | 1588422846 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | N = int(input())
s = 0
for i in range(0,2):
if N[i] = 1:
s = s + 1
print(s)
|
s787756719 | p03493 | u568711768 | 1588422713 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | N = int(input())
s = 0
for i in range(0,2):
if N[i] = 1:
s = s + 1
print(s)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.