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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s768144873 | p03493 | u709259342 | 1565453538 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 389 | def two_power(num: int) -> int:
count = 0
while num % 2 == 0:
try:
num = num / 2
count += 1
except ValueError:
pass
return count
n = int(input())
li = (input().split(' '))
l = []
for i in range(0, n):
l.append(int(li[i]))
ans_list = []
for i in ra... |
s984581605 | p03493 | u709259342 | 1565453407 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 389 | def two_power(num: int) -> int:
count = 0
while num % 2 == 0:
try:
num = num / 2
count += 1
except ValueError:
pass
return count
n = int(input())
li = (input().split(' '))
l = []
for i in range(0, n):
l.append(int(li[i]))
ans_list = []
for i in ra... |
s860200172 | p03493 | u366959492 | 1565449471 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 179 | n,k=map(int,input().split())
a=list(map(int,input().split()))
d={}
for i in a:
d[i]=d.get(i,0)+1
c=0
while len(d)>k:
x=min(d, key=d.get)
c+=d[x]
del d[x]
print(c)
|
s259881945 | p03493 | u156778434 | 1565412756 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s668543999 | p03493 | u901687869 | 1565412420 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 160 | a = input()
b = int(a[0:1])
c = int(a[1:1])
d = int(a[2:1])
ball = 0
if(b == 1):
ball += 1
if(c == 1):
ball += 1
if(d == 1):
ball += 1
print(ball) |
s840938151 | p03493 | u901687869 | 1565412174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 160 | a = input()
b = int(a[0:0])
c = int(a[1:0])
d = int(a[2:0])
ball = 0
if(b == 1):
ball += 1
if(c == 1):
ball += 1
if(d == 1):
ball += 1
print(ball) |
s934382980 | p03493 | u092278825 | 1565410970 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | a,b,c=map(int, input().split())
list = [a,b,c]
s = 0
for i in range (3):
if list[i] == 1:
s += 1
print(s) |
s868530630 | p03493 | u092278825 | 1565410906 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | a,b,c=map(int, input().split())
list = [a,b,c]
s = 0
for i in range (3):
if list[i] == 1:
s += 1
print(s) |
s884122014 | p03493 | u188916636 | 1565324781 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 224 | N=int(input())
AN=list(map(int,input().split()[:N]))
ret=0
flg=True
while flg:
for i in range(N):
if AN[i]%2!=0:
flg=False
break
AN[i]//=2
if flg:
ret+=1
print(ret)
|
s010897177 | p03493 | u188916636 | 1565324731 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 224 | N=int(input())
AN=list(map(int,input().split()[:N]))
ret=0
flg=True
while flg:
for i in range(N):
if AN[i]%2!=0:
flg=False
break
AN[i]//=2
if flg:
ret+=1
print(ret)
|
s094194981 | p03493 | u188916636 | 1565324614 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 222 | N = int(input())
A=list(map(int,input().split()[:N]))
num = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] //= 2
if flg:
num += 1
print(num)
|
s577411651 | p03493 | u188916636 | 1565324509 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 222 | N = int(input())
A = list(map(int, input().split()))
num = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] //= 2
if flg:
num += 1
print(num)
|
s921862289 | p03493 | u188916636 | 1565324372 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 168 | num = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] //= 2
if flg:
num += 1
print(num)
|
s955621461 | p03493 | u188916636 | 1565324342 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 166 |
num = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] //= 2
if flg:
i += 1
print(num) |
s413723023 | p03493 | u188916636 | 1565324074 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 234 | N = int(input())
A = list(map(int, input().split()))
i = 0
flg = True
while flg:
for i in range(N):
print(A[i])
if A[i] %2 != 0:
flg = False
break
else:
A[i] //= 2
if flg:
i += 1
print(i)
|
s299969501 | p03493 | u188916636 | 1565323785 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 222 | N = int(input())
A = list(map(int, input().split()))
i = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] = A[i] / 2
if flg:
i += 1
print(i)
|
s198963351 | p03493 | u188916636 | 1565323587 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 232 | N = int(input())
A = list(map(int, input().split()))
i = 0
flg = True
while flg:
for i in range(N):
if A[i] %2 != 0:
flg = False
break
else:
A[i] = A[i] / 2
if flg
i += 1
print(i)
|
s362999819 | p03493 | u188916636 | 1565323549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 225 | N = int(input())
A = list(map(int, input().split()))
i = 0
flg = True
while flg:
for i in N:
if A[i] %2 != 0:
flg = False
break
else:
A[i] = A[i] / 2
if flg
i += 1
print(i)
|
s070098570 | p03493 | u188916636 | 1565319875 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 207 | N = int(input())
A = list(map(int, input().split()))
max = 0
i = 0
for a in A:
if a%2 != 0:
i = 0
continue
else:
a = a / 2
i = i + 1
if i > max:
max = i
print(max)
|
s316936360 | p03493 | u188916636 | 1565319589 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 204 | N = int(input())
A = list(map(int, input().split()))
max = 0
i = 0
for a in A:
if a%2 != 0:
i = 0
break
else:
a = a / 2
i = i + 1
if i > max:
max = i
print(max)
|
s507099486 | p03493 | u188916636 | 1565319380 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 230 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a%2 != 0:
print(0)
max = 0
for a in A:
if a%2 != 0:
i = 0
break
else:
a = a / 2
i = i + 1
if i > max:
max = i
print(max)
|
s574895984 | p03493 | u469953228 | 1565302600 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | s=input()
ans = 0
for i in range(slen()):
if s[i] == 1:
ans +=1
print(ans)
|
s872557804 | p03493 | u469953228 | 1565302432 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | s=input()
ans = 0
for i in range(s.len()):
if s[i] == 1:
ans +=1
print(ans)
|
s309250757 | p03493 | u134243444 | 1565264489 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 31 | x = (input().count(1))
print(x) |
s609969983 | p03493 | u134243444 | 1565264463 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | x = int(input().count(1))
print(x) |
s305380835 | p03493 | u464912173 | 1565238176 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 26 | print(input(), count("1")) |
s073875227 | p03493 | u464912173 | 1565237296 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(imput().count"1") |
s919755169 | p03493 | u401077816 | 1565192951 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | N = int(input())
A = list(map(int, input().split()))
res = 0
while all(a%2 == 0 for a in A):
A = [a/2 for a in A]
res += 1
print(res) |
s170500928 | p03493 | u442428071 | 1565189951 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | n = int(input())
a = list(map(int,input().split()))
ans = 0
while all(i % 2 == 0 for i in a):
a = [i // 2 for i in a]
ans += 1
print(ans)
|
s325626556 | p03493 | u623735583 | 1565141847 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | n = int(input())
a = list(map(int,input().split()))
ans = 0
while all(i % 2 == 0 for i in a):
a = [i // 2 for i in a]
ans += 1
print(ans) |
s619366217 | p03493 | u463898034 | 1565072036 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 266 | # 分割されていない文字列をどうやって分けるか
a = [*input()] # これで一文字ずつになる
cnt = 0
if a[0] == "1":
cnt +=1
if a[1] == "1":
cnt +=1
if a[2] == "1":
cnt +=1
print(cnt)
|
s408218658 | p03493 | u463898034 | 1565071901 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 208 | # 分割されていない文字列をどうやって分けるか
a = [*input()] # これで一文字ずつになる
cnt = 0
for i in a:
if i == "1":
cnt +=1
print(cnt)
|
s203681507 | p03493 | u412481017 | 1565069400 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | a = int(input())
i=0
sum=0
for i<len(str(a)):
if str(a)[i]=="1":
sum=sum+1
i=i+1
print(sum) |
s825875923 | p03493 | u412481017 | 1565069303 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | a = int(input())
i=0
sum=0
for i<len(str(a)):
if str(a)[i]==1:
sum=sum+1
i=i+1
print(sum) |
s612799421 | p03493 | u412481017 | 1565069231 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a = int(input())
i=0
sum=0
for i<len(a):
if str(a)[i]==1:
sum=sum+1
i=i+1
print(sum) |
s758421580 | p03493 | u439312138 | 1565063886 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | N = input()
ctr = 0
for i in range(0,len(N)-1):
if N[i] = "1":ctr+=1
print(ctr) |
s944681782 | p03493 | u957872856 | 1565043748 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 279 | n, k = map(int,input().split())
a = list(map(int,input().split()))
d = {}
count = 0
for i in a:
if i not in d.keys():
d[i] = 1
else:
d[i] += 1
d = sorted(d.values())
for i, j in enumerate(d):
if len(d) > k:
count += j
del d[i]
else:
break
print(count) |
s062502850 | p03493 | u772935222 | 1564982196 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 155 | import math
a = input()
s = list(map(int,input().split()))
ans =float("inf")
for i in s:
ans = min(ans,len(bin(i))-bin(i).rfind("1")-1)
print(round(ans)) |
s453583835 | p03493 | u360038884 | 1564948209 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | line = input()
count = 0
for i in range(3):
if line[i] == '1':
count += 1
return count |
s024815064 | p03493 | u360038884 | 1564948016 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | str = input()
cnt = 0
for i in range(3):
if str[i] == '1':
cnt += 1
return cnt |
s299089104 | p03493 | u360038884 | 1564947667 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | line = input()
count = 0
for i in range(3):
if line[i] == 1:
count += 1
return line |
s221335059 | p03493 | u320098990 | 1564928788 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 296 | N = int(input())
input = input().split()
marker = True
count = 0
while(marker):
for i in range(N):
num = int(input[i])
if num%2==1:
marker = False
count -= 1
break;
else:
input[i] = num/2
count += 1
print(count) |
s729077292 | p03493 | u358180064 | 1564892432 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 164 | in = int(raw_input())
a = in // 100
b = (in - a * 100) // 10
c = in % 10
cnt = 0
if a == 1:
cnt += 1
elif b == 1:
cnt += 1
elif c == 1:
cnt += 1
print cnt |
s027521824 | p03493 | u009043168 | 1564881326 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | abc = map(int, input().split())
print(a+b+c) |
s729548126 | p03493 | u009043168 | 1564881291 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 50 | s1s2s3 = map(int, input().split())
print(s1+s2+s3) |
s297397949 | p03493 | u009043168 | 1564881221 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 54 | s1, s2, s3 = map(int, input().split())
print(s1+s2+s3) |
s389189989 | p03493 | u852517668 | 1564869644 | Python | PyPy3 (2.4.0) | py | Runtime Error | 185 | 38384 | 213 | N = int(input())
A = list(map(int, input().split()))
ret = 0
flag = True
while(flag):
for i in range(3):
if(A[i] % 2 != 0):
flag = False
else:
A[i] /= 2
if(flag):
ret += 1
print(ret) |
s117995522 | p03493 | u506858457 | 1564794759 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | l=[map(int,input().split(''))]
c=0
for i in l:
if i=='1':
c+=1
print(c)
|
s404815078 | p03493 | u270962921 | 1564777184 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 235 | import math
N = int(input())
a = list(map(int, input().split()))
number = 0
sign = True
while sign:
for i in range(N):
if a[i] % 2 != 0:
sign = False
print(number)
break
else:
a[i] /= 2
number += 1
|
s964850103 | p03493 | u727760796 | 1564753868 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 559 | iter_num = input()
variables = input()
raw_variables = variables.split(' ')
variables = list()
for raw_variable in raw_variables:
variables.append(int(raw_variable))
def calc(variable):
process_count = 0
while (variable % 2 == 0):
process_count += 1
variable = variable / 2
return pro... |
s109590661 | p03493 | u180648906 | 1564708358 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | s = map(input().split())
print(sum(s)) |
s234577249 | p03493 | u158778550 | 1564707642 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | sss = input()
a = int(sss/100)
b = int((sss-100*a)/10)
c = int((sss-100*a-10*b))
print(a+b+c) |
s547497360 | p03493 | u991087410 | 1564499075 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | M = int(input())
N = M[0]
count = 0
if N >= 50:
count+=1
N-=100
if if N >=5:
count+=1
N-=10
if N>0.5:
count+=1;
print(count) |
s020021201 | p03493 | u991087410 | 1564499023 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | N = int(input().split())
count = 0
if N >= 50:
count+=1
N-=100
if if N >=5:
count+=1
N-=10
if N>0.5:
count+=1;
print(count) |
s057143352 | p03493 | u306071800 | 1564455729 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 189 | def divide_count(n):
cnt = 0
while n % 2 == 0:
n /= 2
cnt += 1
return cnt
n = int(input())
a = list(map(int, input().split()))
print(min(map(divide_count, a)))
|
s457569117 | p03493 | u062314674 | 1564334810 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | a, b, c = map(str, input())
if '1' * 1 in a, b, c:
print('1')
elif '1' * 2 in a, b, c:
print('2')
else:
print('3') |
s506818183 | p03493 | u261082314 | 1564307243 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | a,b,c = map(int, input().split())
A = 0
B = 0
C = 0
if a == 1:
A = 1
if b == 1:
B = 1
if c == 1:
C = 1
print(A+B+C)
|
s127983495 | p03493 | u261082314 | 1564306975 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 152 | a,b,c = map(int, input().split())
if a == 1:
A = 1
else:
A = 0
if b == 1:
B = 1
else:
B = 0
if c == 1:
C = 1
else:
C = 0
print(A+B+C)
|
s223872513 | p03493 | u261082314 | 1564306892 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | a,b,c = map(int, input().split())
if a == 1:
A = 1
else:
A = 0
if b == 1:
B = 1
else:
B = 0
if c == 1:
C = 1
else:
C = 0
print(A+B+C)
|
s652966654 | p03493 | u533006396 | 1564274717 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 57 | a, b, c = map(int, input().split(None, 2))
print(a+b+c)
|
s831991017 | p03493 | u533006396 | 1564274687 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 55 | a, b, c = map(int, input().split(None, 2)
print(a+b+c) |
s959366215 | p03493 | u533006396 | 1564274419 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 49 | a, b, c = map(int, input().split())
print(a+b+c) |
s998178956 | p03493 | u815797488 | 1564124428 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 207 | N,K = map(int, input().split())
A = [int(i) for i in input().split()]
l=[]
for i in range(N+1):
l.append(A.count(i))
ls = sorted(l,reverse=True)
j= K
ans = 0
while ls[j] != 0:
ans += ls[j]
print(ans) |
s289222026 | p03493 | u027929618 | 1564039269 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a = int(input())
b, c = map(int, input().split())
s = input()
print("{} {}".format(a+b+c, s)) |
s551479976 | p03493 | u240055120 | 1563760504 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 202 | n = input()
a = list(map(int, input().split()))
count = 0
while 1:
if [int(i/2) for i in a] == [round(i/2, 1) for i in a]:
count+=1
a = [int(i/2) for i in a]
else:
print(count)
break |
s871161301 | p03493 | u611562941 | 1563738476 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 338 | N,K = map(int,input().split())
A = list(map(int,input().split()))
A.sort()
num = []
cnt = []
for a in A:
if a not in num:
num.append(a)
cnt.append(1)
else:
cnt[-1] += 1
cnt.sort()
#print(num,cnt)
res = 0
M = len(cnt)
if M <= K:
res = 0
else:
for i in range(M-K):
res +=... |
s238566717 | p03493 | u611562941 | 1563738456 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38384 | 341 | N,K = map(int,input().split())
A = list(map(int,input().split()))
A.sort()
num = []
cnt = []
for a in A:
if a not in num:
num.append(a)
cnt.append(1)
else:
cnt[-1] += 1
cnt.sort()
#print(num,cnt)
res = 0
M = len(cnt)
if M <= K:
res = 0
else:
for i in range(M-K):
res +=... |
s681669296 | p03493 | u692311686 | 1563685757 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 225 | N=int(input())
L=list(map(int,input().split()))
counter=0
t=0
for p in range (30):
t=0
for i in range(N):
if L[i]%2==0:
t+=1
if t==N:
for i in range(N):
L[i]=int(L[i]/2)
counter+=1
print(counter) |
s202566869 | p03493 | u656572785 | 1563655545 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 364 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<ll>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<ll>>;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
string s;
cin >> s;
int ans = 0;
for (char c : s) if (c == '1') ... |
s485074954 | p03493 | u991087410 | 1563474675 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 226 | N = int(input())
count = 0
COUNT = 0
A = [int(i) for i in input().split()]
while 1:
for i in range(N):
if A[i]%2==0:
A[i]/=2
count+=1
if count == N:
COUNT+=1
count = 0
else:
break
print(COUNT) |
s367464869 | p03493 | u991087410 | 1563474189 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 212 | N = int(input())
count = 0
COUNT = 0
A = [int(i) for i in input().split()]
while 1:
for i in range(N):
if A[i]%2==0:
A[i]/=2
count+=1
if count == N:
COUNT+=1
else:
break
print(COUNT) |
s822348394 | p03493 | u991087410 | 1563473364 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 185 | N = input()
count = 0
COUNT = 0
A = input().split()
while:
for i in range(N):
if A[i]%2==0:
A[i]/=2
count++
if count == N:
COUNT++
else:
break
print(COUNT) |
s079012817 | p03493 | u991087410 | 1563471919 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 170 | numbers = int(input())
numbers = string(numbers)
count = 0
if numbers[0]=='1':
count += 1
if numbers[1]=='1':
count += 1
if numbers[2]=='1':
count += 1
print(count) |
s848195495 | p03493 | u991087410 | 1563471697 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 165 | numbers = input()
numbers = string(numbers)
count = 0
if numbers[0]=='1':
count += 1
if numbers[1]=='1':
count += 1
if numbers[2]=='1':
count += 1
print(count) |
s850197523 | p03493 | u281216592 | 1563055118 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 283 | N = int(input())
A = list(map(int,input().split()))
count= 0
while(True):
exist_odd = False
for i in range(N):
if(A[i]%2 != 0):
exist_odd = True
if(exist_odd == True):
break
for i in range(N):
A[i] /= 2
count += 1
print(count)
|
s341705349 | p03493 | u281216592 | 1563054920 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 278 | N = input()
A = list(map(int,input().split()))
count= 0
while(true):
exist_odd = False
for i in range(N):
if(A[i]%2 != 0):
exist_odd = True
if(exist_odd == True):
break
for i in range(N):
A[i] /= 2
count += 1
print(count)
|
s763384856 | p03493 | u829393411 | 1563045752 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 226 | import math
N=int(input())
s = list( map(int , input().split()) )
ans = s[0]
count = 0
for i in range(1,N-1):
ans = math.gcd(ans,s[i])
while i < pow(10,9):
if ans%2 == 0:
count +=1
ans = ans/2
else:
break
print(count) |
s571365809 | p03493 | u829393411 | 1563044389 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 45 | s=input()
print(int(s[0])+int(s[1])+int(s[2]) |
s951985919 | p03493 | u455913464 | 1562996921 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | a,b,c=map(int,input().split())
print(a+b+c) |
s115859951 | p03493 | u923010184 | 1562948497 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | print(input().counter("1")) |
s334602860 | p03493 | u923010184 | 1562948028 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 33 | s = input().counter(1)
print (s)
|
s775107005 | p03493 | u923010184 | 1562947976 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 30 | s = input().count(1)
print (s) |
s210435637 | p03493 | u233588813 | 1562876008 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 31 | a,b,c=int(input())
print(a+b+c) |
s164058063 | p03493 | u170295204 | 1562855233 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 209 | # -*- coding: utf-8 -*-
a = int(input())
b = list(int(input().split()))
count = list()
for i in range(a):
count[i-1] = 0
while b[i-1] % 2 == 0:
b[i-1] = b[i-1] / 2
count[i-1] += 1
print(min(count)) |
s506503597 | p03493 | u170295204 | 1562855116 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 211 | # -*- coding: utf-8 -*-
a = int(input())
b = list(int(input().split("")))
count = list()
for i in range(a):
count[i-1] = 0
while b[i-1] % 2 == 0:
b[i-1] = b[i-1] / 2
count[i-1] += 1
print(min(count)) |
s125427789 | p03493 | u170295204 | 1562854663 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 201 | # -*- coding: utf-8 -*-
a = int(input())
b = list(int(input()))
count = list()
for i in range(a):
count[i-1] = 0
while b[i-1] % 2 == 0:
b[i-1] = b[i-1] / 2
count[i-1] += 1
print(min(count)) |
s329265527 | p03493 | u527697010 | 1562738354 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | s=list(input())
a=0
for i in range(s):
if s[i]=='1':
a=a+1
print(a)
|
s741258198 | p03493 | u374802266 | 1562678307 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | ab=input(),0
if a[0]=='1':
b+=1
if a[1]=='1':
b+=1
if a[2]=='1':
b+=1
print(b) |
s965213990 | p03493 | u170295204 | 1562601869 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 160 | # -*- coding: utf-8 -*-
a[]= list(str(input()))
count = 0
if a[0] == "1":
count += 1
if a[1] == "1":
count += 1
if a[2] == "1":
count += 1
print(count)
|
s277414080 | p03493 | u170295204 | 1562601524 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | # -*- coding: utf-8 -*-
a[] = str(input())
count = 0
if a[0] == "1":
count += 1
if a[1] == "1":
count += 1
if a[2] == "1":
count += 1
print(count) |
s174322176 | p03493 | u668503853 | 1562290587 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 29 | s=input()
print(count.s("1")) |
s297980312 | p03493 | u022832318 | 1562123194 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 28 | s=input()
print(s.cout('a')) |
s197541249 | p03493 | u292735000 | 1562116794 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 67 | s_list = input()
sum = int(a[0]) + int(a[1]) + int(a[2])
print(sum) |
s603229192 | p03493 | u050763225 | 1561838456 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 123 | data = input()
count_one = 0
for i in len(data):
num = int(data[i])
if (num == 1):
count_one += 1
print(count_one)
|
s302132662 | p03493 | u050763225 | 1561838402 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 125 | data = input()
count_one = 0
for i in length(data):
num = int(data[i])
if (num == 1):
count_one += 1
print(count_one) |
s331031685 | p03493 | u759412327 | 1561828872 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s762157990 | p03493 | u448655578 | 1561723142 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 100 | a = list(int(input()))
count = 0
for i in range(len(a)):
if a[i] == 1:
count += 1
print(count) |
s385401044 | p03493 | u633914031 | 1561437594 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | a = string(input())
n = int(0)
if a[0]=='1':
n = n+1
if a[1]=='1':
n = n+1
if a[2]=='1':
n = n+1
print(n)
|
s838304195 | p03493 | u728615412 | 1561407930 | Python | Python (3.4.3) | py | Runtime Error | 152 | 12488 | 264 | import numpy as np
N = list(map(int, input().split()))
An = list(map(int,input().split()))
judge = True
count = 0
i = 0
while judge:
if An[i]%2 == 0:
An.append(An[i]/2)
i += 1
else:
judge = False
break
print(len(An)//N[0]-1) |
s630608899 | p03493 | u248221744 | 1561359228 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 52 | X, Y, Z = map(int, input().split())
print(X + Y + Z) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.