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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s023594758 | p03493 | u642418876 | 1585479533 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | s=str(input())
print(s.count(1))
|
s721075631 | p03493 | u854992222 | 1585439777 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(input().conut("1")) |
s253702240 | p03493 | u854992222 | 1585439195 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(input().conut("1")) |
s909323926 | p03493 | u211277872 | 1585435667 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | a, b, c = list(map(int, input().strip().split()))
print(a + b + c) |
s557542223 | p03493 | u085334230 | 1585424069 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | s = str(input())
print(s.count(1)) |
s512492734 | p03493 | u145231176 | 1585364946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 202 | input()
a = list(map(int, input().split()))
counter = 0
while True:
if all([(i % 2 == 0) for i in a]):
a = [int(i / 2) for i in a]
counter += 1
else:
break
print(counter) |
s756414492 | p03493 | u145231176 | 1585364845 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 199 | input()
a = list(map(int, input().split()))
counter = 0
while 1:
if all([(i % 2 == 0) for i in a]):
a = [int(i / 2) for i in a]
counter += 1
else:
break
print(counter) |
s939583181 | p03493 | u309423187 | 1585288810 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | n = map(int, input().split())
ans = n.count('1')
print(ans)
|
s658906192 | p03493 | u471539833 | 1585287865 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 180 | n=int(input())
a=list(map(int,input().split()))
count=0
ans=a[0]
for i in range(n):
count=0
while(a[i]%2==0):
a[i]=a[i]//2
count+=1
ans=min(ans,count)
print(ans) |
s002082732 | p03493 | u471539833 | 1585287849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 180 | n=int(input())
a=list(map(int,input().split()))
count=0
ans=a[0]
for i in range(n):
count=0
while(a[i]%2==0):
a[i]=a[i]//2
count+=1
ans=max(ans,count)
print(ans) |
s572812531 | p03493 | u642418876 | 1585191713 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | s1s2s3=str(input())
print(s1s2s3.count(1))
|
s077507544 | p03493 | u497952650 | 1585015918 | Python | Python (3.4.3) | py | Runtime Error | 44 | 5352 | 48 | import random
input()
print(random.random(0,3))
|
s520567316 | p03493 | u497952650 | 1585015769 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 39 | import random
print(random.random(0,3)) |
s125941216 | p03493 | u497952650 | 1585015488 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 23 | print(input().count(1)) |
s480557056 | p03493 | u777780532 | 1584933405 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 137 | input()
A = list(map(int, input().split()))
count = 0
while all(a %2 == 0 for a in A):
A = [a/2 for a in A]
count += 1
print(count) |
s546498935 | p03493 | u291914812 | 1584920720 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 95 | a, b, c = map(int, input().split())
if a + b + c > 0:
print(a + b + c)
else:
print(0)
|
s186727406 | p03493 | u082450020 | 1584898695 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count('1') |
s680266788 | p03493 | u160972560 | 1584810889 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 401 | # -*- coding: utf-8 -*-
"""
Created on Sat Mar 21 12:49:13 2020
@author: 藤原聖士
"""
N=int(input())
A=[]
check=0
answer=-1
for i in range(N):
A.append(int(input()))
check=A[i]
#print(A)
count=0
while check % 2==0:
count+=1
check=check/2
#print(check)
if answer>count:
... |
s774884265 | p03493 | u026402121 | 1584758472 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | s1,s2,s3 = map(int,input().split())
print(s1+s2+s3) |
s867935188 | p03493 | u360061665 | 1584750051 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 310 | N = int(input())
num = list(map(int, input().split(" ")))
oparation = 10 ^ 8
for i in range(N):
temp = 0
while(1):
if(num[i] % 2 or num[i] == 0):
break
else:
num[i] /= 2
temp += 1
if(oparation > temp):
oparation = temp
print(oparation)
|
s518257373 | p03493 | u360061665 | 1584749830 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 289 | N=int(input())
num=map(int,input().split(" "))
oparation=10^8
for i in range(N):
temp=0
while(1):
if(num[i]%2 or num[i]=0):
break:
else:
num[i]/=2
temp+=1
if(oparation>temp):
oparation=temp
print(oparation)
|
s600292268 | p03493 | u225020286 | 1584739215 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 130 | N=int(input())
A=list(map(int,input().split()))
count=0
while all(a%2==0 for a in A):
A=[a/2 for a in A]
count+=1
print(count) |
s716819975 | p03493 | u225020286 | 1584736812 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | N=int(input())
print(N.count("1")) |
s944674306 | p03493 | u843318925 | 1584650550 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | n = input()
a = [bin(int(x))[2:] for x in input().split()]
a = [len(x) - (x.rfind('1') + 1) for x in a]
print(min(a)) |
s979609994 | p03493 | u533344362 | 1584633952 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 37 | s = input()
print(input().count('1')) |
s152330595 | p03493 | u990300472 | 1584582449 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 347 | N = input()
num_list = list(map(int, input().split(" ")))
def devision(num_list, count):
new_num_list = []
for num in num_list:
if num%2 ==0:
new_num_list.append(num//2)
else:
print(count)
return
count += 1
return devision(new_num_list, count)
devisi... |
s050018315 | p03493 | u851706118 | 1584324330 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | s1, s2, s3 = map(int, input().split())
list = [s1, s2, s3]
ball = 0
for item in list:
if item == 1:
ball += 1
print(ball) |
s073555551 | p03493 | u286491117 | 1584244404 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | s1,s2,s3 = map(int,input().split())
a = [s1, s2, s3]
x = 0
for num in a:
if num == 1:
x += 1
else:
x += 0 |
s344861995 | p03493 | u843318346 | 1584227005 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s = input()
print(int(s.count('1')) |
s132548508 | p03493 | u410026319 | 1584224127 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 212 | n = int(input())
numbers = list(map(int, input().split()))
count = [0]*n
for i in range(n):
while True:
if numbers[i]%2 == 1:
break
numbers[i] = numbers[i]/2
count[i] += 1
print(min(count)) |
s346661897 | p03493 | u410026319 | 1584223926 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 194 | n = int(input())
numbers = list(map(int, input().split()))
count = [0]*n
for i in range(n):
if numbers[i]%2 == 1:
continue
numbers[i] = numbers[i]/2
count[i] += 1
print(min(count)) |
s505006290 | p03493 | u410026319 | 1584223550 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 246 | n = int(input())
numbers = list(map(int, input().split()))
res = 0
for i in range(n):
count = 0
while True:
if numbers[i]%2 == 1:
break
numbers[i] = numbers[i]/2
count += 1
if count > res:
res = count
print(res) |
s062161580 | p03493 | u410026319 | 1584223407 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 227 | n = int(input())
numbers = list(map(int, input().split()))
res = 0
for i in range(n):
count = 0
while True:
if numbers[i]%2 == 1:
break
else:
count += 1
if count > res:
res = count
print(res) |
s648601531 | p03493 | u060564167 | 1584211843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 174 | n = input()
a = list(map(int, input().split()))
def how_many_times(x):
n=0
while x%2==0:
x=x//2
n+=1
return n
print(min(map(how_many_times, a))) |
s325523457 | p03493 | u026953487 | 1584067604 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 226 | input()
A=list(map(int,input().split()))
cnt = 0
while True:
flag = 0
for i in range(N):
if A[i] % 2 == 1:
flag = 1
break
else:
M[i] = M[i] / 2
if flag == 1:
print(cnt)
else:
cnt += 1 |
s375594031 | p03493 | u026953487 | 1584066394 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | s = input()
s1 = s[0].int()
s2 = s[1].int()
s3 = s[2].int()
print(str(s1+s2+s3))
|
s837666183 | p03493 | u026953487 | 1584065902 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | s1, s2, s3 = map(int, input().split())
sum = s1 + s2 + s3
print(str(sum))
|
s290771283 | p03493 | u026953487 | 1584065832 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 73 | s1, s2, s3 = map(int,input().split())
sum = s1 + s2 + s3
print(sum)
|
s599560452 | p03493 | u246809151 | 1584023242 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 187 | N = int(input())
A = list(map(int, input().split()))
cnt =0
while True:
if [i for i in A if i%2 == 1]:
break
A = [i/2 for i in A if i%2 ==0]
cnt += 1
prnt(cnt)
|
s267768415 | p03493 | u738265085 | 1583940570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s464435283 | p03493 | u256921850 | 1583896872 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count("1") |
s597297901 | p03493 | u069547849 | 1583785302 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | s = list(input())
numbers = 0
for i in s:
if s[i] == "1":
numbers += 1
print(numbers)
|
s280483091 | p03493 | u069547849 | 1583785223 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | s = list(input())
numbers = 0
for i in s:
if s[i] == 1:
numbers +=1
print(numbers) |
s397374957 | p03493 | u695261159 | 1583725710 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 359 | import sys
Row = input()
List = [int(j) for j in input().split()]
for i in range(len(List)):
ans = List[i] % 2
if ans == 1:
print(0)
sys.exit()
count = 0
flg = 0
while flg == 0:
count = count + 1
for j in range(len(List)):
List[j] = List[j] / 2
if List[j]%2:
... |
s723821544 | p03493 | u699944218 | 1583707645 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 130 | s = map(int, input().split())
n = 0
i = 0
cout = 0
for i in s:
if s[i] % 2 == 0:
cout += 1
else:
cout += 0
print(cout) |
s555797767 | p03493 | u446371873 | 1583698919 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 293 | m = int(input())
number_list = list(map(int,input().split()))
n = 0
while 1:
f = False
for i in range(0,m):
if number_list[i] % 2 != 0:
f = True
if f == True:
break
for i in range(0,m):
number_list[i] = number_list[i] / 2
n += 1
print(n) |
s521246816 | p03493 | u446371873 | 1583697981 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 293 | m = int(input())
number_list = list(map(int,input().split()))
n = 0
while 1:
f = False
for i in range(0,m):
if number_list[i] % 2 != 0:
f = True
if f == True:
break
for i in range(0,m):
number_list[i] = number_list[i] / 2
n += 1
print(n) |
s608665339 | p03493 | u479638406 | 1583697266 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | a,b,c = [int(i), for i in input()]
print(a+b+c)
|
s368750835 | p03493 | u137808818 | 1583545967 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | a=int(input())
print(a.count("1")) |
s858344084 | p03493 | u356499208 | 1583381497 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | S = int(input())
i = 0
C = 0
while i < 3:
if S[i] == 1:
C += 1
i += 1
print(str(C)) |
s044007542 | p03493 | u414050834 | 1583294248 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | s = input()
c = 0
for i in range(3):
if a[i] == 1:
c = c + 1
return c |
s848108766 | p03493 | u414050834 | 1583294101 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | s = input()
count = 0
for i in range(3):
if s == 1:
count = count + 1
return count |
s820567362 | p03493 | u414050834 | 1583294077 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | s = input()
count = 0
for i in range(3):
if s == 1:
count = count + 1
return count |
s581680350 | p03493 | u738265085 | 1583270096 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 24 | print(input().count("1") |
s945691904 | p03493 | u738265085 | 1583269960 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | a = int(input())
s = 0
which a < 1:
if a%10 == 1:
s += 1
print(s) |
s628590102 | p03493 | u993138647 | 1583198130 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | count=0
int a,b,c=map(int,input().split())
if a>0:
count+=1
if b>0:
count+=1
if c>0:
count+=1
print(count) |
s762596295 | p03493 | u993138647 | 1583197737 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | count=0
int a,b,c=int(input())
if a>0:
count+=1
if b>0:
count+=1
if v>0:
count+=1
print(count) |
s966270748 | p03493 | u696240348 | 1583186720 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38384 | 193 | import numpy as np
a = np.array([int(x) for x in input().split()])
count = 0
x = 0
while x == 0:
if np.all(a%2 ==0):
count+=1
a = a/2
else:
break
print(count) |
s029293277 | p03493 | u323045245 | 1582917851 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | 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)
print(round(ans)) |
s534877291 | p03493 | u323045245 | 1582917796 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | 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)
print(round(ans)) |
s523943434 | p03493 | u429541300 | 1582909929 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print(input().cont("1"))
|
s780446036 | p03493 | u790048565 | 1582889148 | Python | PyPy3 (2.4.0) | py | Runtime Error | 160 | 38256 | 35 | s = input()
print(s.count("1")) |
s736159078 | p03493 | u998262711 | 1582839926 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | s=input()
counter=0
if s[0]=1:
counter+=1
if s[1]=1:
counter+=1
if s[2]=1:
counter+=1
print(counter) |
s308756508 | p03493 | u998262711 | 1582839629 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 185 | s=input()
list0=[000]
list1=[100,010,001]
list2=[110,101,011]
list3=[111]
if s in list0:
print(0)
if s in list1:
print(1)
if s in list2:
print(2)
if s in list3:
print(3) |
s714045698 | p03493 | u744034042 | 1582750220 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s534214575 | p03493 | u291628833 | 1582684645 | Python | PyPy3 (2.4.0) | py | Runtime Error | 162 | 38256 | 36 | s = list(input())
print(s.count("1") |
s344685753 | p03493 | u354126779 | 1582655001 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | seq=input()
c=0
for i in range(3):
if seq[i]=1:
c+=1
print(c) |
s751365785 | p03493 | u757030836 | 1582495414 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 143 | s = input()
a = []
for i in range(len(s)):
a.append(s[i])
count = 0
for i in [0,3]:
if a[i] == "1":
count +=1
print(count) |
s874468745 | p03493 | u305534505 | 1582243816 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | a, b, c = int(input())
print(a+b+c) |
s277776657 | p03493 | u305534505 | 1582243456 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 58 | a, b, c = map(int, input().split())
ans = a+b+c
print(ans) |
s974135284 | p03493 | u305534505 | 1582243405 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | a, b, c= map(int, input().split())
print(a+b+c) |
s320316689 | p03493 | u011276976 | 1582157097 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 195 | import math
n = int(input())
a = list(map(int, input().split()))
ans = float("inf") #ansに無限を代入
for i in a:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") - 1)
print(round(ans)) |
s802754216 | p03493 | u789565565 | 1582146626 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 115 | a = string(input())
n = 0
if a[0] == '1':
n = n+1
if a[1] == '1':
n = n+1
if a[2] == '1':
n = n+1
print(n) |
s093942303 | p03493 | u789565565 | 1582146419 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a = string(input())
n = 0
if a[0] == 1:
n = n+1
if a[1] == 1:
n = n+1
if a[2] == 1:
n = n+1
print(n) |
s098962014 | p03493 | u252121498 | 1582087808 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | a = input()
a = str(a)
count = 0
if a[0] = "1":
count += 1
if a[1] = "1":
count += 1
if a[2] = "1":
count += 1
print(count) |
s504160306 | p03493 | u252121498 | 1582087664 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | 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) |
s308308056 | p03493 | u222801992 | 1582087533 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | s=map(int,input().split())
print(s.count("1")) |
s913195236 | p03493 | u709679133 | 1581991598 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input.count('1')) |
s681913309 | p03493 | u709679133 | 1581991509 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 132 | a,b,c = map(int,input().split())
count = 0
if a%2==1:
count += 1
if b%2 == 1:
count += 1
if c%2 == 1:
count +1
print(count) |
s152251897 | p03493 | u161712560 | 1581899971 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | s = str(input())
count = 0
for i in range(len(s)):
if s[i] == "1":
count++
print(count) |
s190901834 | p03493 | u767995501 | 1581831000 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 29 | s = input()
print(s.count(1)) |
s924689263 | p03493 | u203382704 | 1581830043 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 247 | n = int(input())
L = list(map(int, input().split()))
K = -1
bool1 = True
while(bool1 == True):
K +=1
for k in range(n):
if L[k] %2 ==0:
L[k] = L[k]/2
else:
bool1 = False
break
print(K) |
s070102149 | p03493 | u849029577 | 1581809848 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38640 | 235 | n = int(input())
a = list(map(int, input().split()))
l = []
for i in a:
count = 0
for j in range(1, 31):
if i%(2**j) == 0:
count += 1
else:
l.append(count)
break
print(min(l)) |
s086972041 | p03493 | u757030836 | 1581783570 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 166 | n = int(input())
a = [int(i) for i in input().split()]
c = 0
i = 0
while a[i]%2 == 0:
if a[i]%2 ==0:
a[i]//=2
if i==n-1:
c+=1
i = 0
i+=1
print(c)
|
s587122329 | p03493 | u757030836 | 1581783473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 183 | n = int(input())
a = [int(i) for i in input().split()]
count = 0
i = 0
while a[i]%2 == 0:
if a[i]%2 ==0:
a[i]//=2
if i == n-1:
count +=1
i = 0
i += 1
print(count)
|
s382396837 | p03493 | u757030836 | 1581783330 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 170 | n = int(input())
a = [int(i) for i in input().split()]
c = 0
i = 0
while a[i]%2 == 0:
if a[i]%2 ==0:
a[i]//=2
if i == n-1:
c +=1
i = 0
i += 1
print(c) |
s264338324 | p03493 | u757030836 | 1581783294 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 177 | n = int(input())
a = [int(i) for i in input().split()]
c = 0
i = 0
while a[i]%2 == 0:
if a[i]%2 ==0:
a[i]//=2
if i == n-1:
count +=1
i = 0
i += 1
print(count) |
s751072582 | p03493 | u421308322 | 1581640920 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | s = input()
print(s.count('1')) |
s485922180 | p03493 | u103826705 | 1581577918 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 277 | n = int(input())
existing_list = list(map(int,input().split()))
counts = 0
while all(num%2 ==0 for num in existing_list):
length = 0
for a in existing_list:
division = a/2
existing_list[length]=division
length +=1
counts +=1
print(counts) |
s056240522 | p03493 | u317710033 | 1581449648 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a = int(input())
b = a.count(int(1))
print(b)
|
s158478282 | p03493 | u037901699 | 1581389411 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 196 | N = int(input())
listA = list(map(int, input()))
cnt = 0
while(True):
for A in listA:
if A % 2 != 0:
break
else:
A = A / 2
cnt += 1
print(cnt) |
s510128399 | p03493 | u121879791 | 1581279718 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a,b,c = map(int,input().split())
print(a+b+c) |
s041103734 | p03493 | u826771152 | 1581221761 | Python | Python (3.4.3) | py | Runtime Error | 2103 | 3060 | 365 | n = int(input())
array = [int(input()) for i in range(n)]
def shift_only(array):
tmp = []
counter = 0
while True:
flag = True
for num in array:
if num%2 != 0:
flag = False
if flag == False:
break
array = [i/2 for i in array]
cou... |
s891557083 | p03493 | u826771152 | 1581221706 | Python | Python (3.4.3) | py | Runtime Error | 2103 | 3060 | 400 | n = int(input())
array = [int(input()) for i in range(n)]
def shift_only(array):
tmp = []
counter = 0
while True:
flag = True
# 全て偶数かを確認
for num in array:
if num%2 != 0:
flag = False
if flag == False:
break
array = [i/2 for i in... |
s625055640 | p03493 | u826771152 | 1581220698 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 205 | def how_many_times_divisible(n):
ans = 0
while n % 2 == 0:
n /= 2
ans += 1
return ans
n = int(raw_input())
a = map(int, raw_input().split())
ans = min(map(how_many_times_divisible, a))
print ans |
s096489819 | p03493 | u179335173 | 1581119733 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 139 | num_list = list(input())
count = 0
if num[0] == "1": count +=1
if num[1] == "1": count +=1
if num[2] == "1": count +=1
print(str(count)) |
s431709560 | p03493 | u265118937 | 1580857420 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 30 | s = list[]
print(s.count("1")) |
s982714826 | p03493 | u187960713 | 1580847086 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 83 | s1=input()
s2=input()
s3=input()
s1=int(s1)
s2=int(s2)
s3=int(s3)
print(s1+s2+s3) |
s906250179 | p03493 | u039934639 | 1580793946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 163 | numbers = input()
number = list(number)
sum = 0
if number[0] == 1:
sum = sum + 1
if number[1] == 1:
sum = sum + 1
if number[2] == 1:
sum = sum + 1
print(sum) |
s663580064 | p03493 | u090769473 | 1580766358 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | s=list(map(int,input().split()))
c=0
if s[0]==1:
c+=1
if s[1]==1:
c+=1
if s[2]==1:
c+=1
print(c)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.