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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s268000207 | p03493 | u979078704 | 1561314206 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | count = 0
a = str(input())
print(a)
for i in range(len(a))
if a[i] == 1:
count = count + 1 |
s734363136 | p03493 | u057415180 | 1561173673 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count)
|
s923740808 | p03493 | u057415180 | 1561173479 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count)
|
s100565721 | p03493 | u057415180 | 1561173426 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count)
|
s741800234 | p03493 | u057415180 | 1561173312 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count) |
s064097130 | p03493 | u057415180 | 1561173278 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i/2 for i in a]
count += 1
print(count) |
s047942915 | p03493 | u057415180 | 1561173249 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 150 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s276209144 | p03493 | u057415180 | 1561172969 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 150 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i%2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s011784826 | p03493 | u057415180 | 1561172474 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i % 2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s323181798 | p03493 | u057415180 | 1561172263 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | n = int(input())
a = list(map(int, input().split()))
count = 0
while all(i % 2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s944245529 | p03493 | u057415180 | 1561172169 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 147 | n = input()
a = list(map(int, input().split()))
count = 0
while all(i % 2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s828126243 | p03493 | u057415180 | 1561172065 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | n = input()
a = list(map(int, input().split()))
while all(i % 2 == 0 for i in a):
a = [i / 2 for i in a]
count += 1
print(count) |
s793841820 | p03493 | u974100230 | 1560893131 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | S = input()
count = 0
for s in S:
s += 1 if s == 1 else 0
print count
|
s203795457 | p03493 | u813569174 | 1560884951 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | s = input().split()
k = 0
for i in range(3):
if s[i] == '1':
k = k + 1
print(k) |
s936784755 | p03493 | u468430765 | 1560740724 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 347 | N = int(input())
A = list(map(int, input().split()))
# 全体の長さから右から数えて最初に出た1の箇所のインデックスを引く
# 後ろに続く0の数が2で割れる回数にあたる
# 例 全:6 インデックス 2 -1
ans = float("inf")
for i in A:
ans = min(ans, len(bin(i)) - bin(i).rfind("1") -1 )
print(ans) |
s653163278 | p03493 | u485566817 | 1560722375 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a = str(input())
s = o
for i in range(0, 3):
if a[i] == '1':
s += 1
print(s) |
s854125262 | p03493 | u168489836 | 1560450480 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | lst = list(input())
print(sum(lst)) |
s554655521 | p03493 | u566143855 | 1560020494 | 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)) |
s246121648 | p03493 | u566143855 | 1560020446 | 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)) |
s818752712 | p03493 | u970308980 | 1559963431 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 29 | print(sum[map(int, input())]) |
s720143291 | p03493 | u197300773 | 1559882131 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 455 | import sys
import math
from itertools import accumulate as acc
input=sys.stdin.readline
N=int(input())
a=list(map(int,input().split()))
b=[abs(a[i]) for i in range(N)]
l=b.index(max(b))
if a[l]==0: print(0),sys.exit()
elif a[l]>0:
print(N*2)
for i in range(2):
print(l+1,1)
for i in range(1,N):
for j in range(... |
s818735248 | p03493 | u172111219 | 1559837152 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38256 | 45 | ls = lisr(input())
c = ls.count('1')
print(c) |
s621125991 | p03493 | u023289097 | 1559703998 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | s1, s2, s3 = map(int, input().split())
count = 0
if s1 == 1:
count++
if s2 == 1:
count++
if s3 == 1:
count++
print(count) |
s622158207 | p03493 | u023289097 | 1559698701 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | s1, s2, s3 = input().split()
count = 0
if s1 == 1:
count++
if s2 == 1:
count++
if s3 == 1:
count++
print(count)
|
s055938650 | p03493 | u979078704 | 1559437732 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 138 |
count = 0
s = [input() for i in range(0,3)] #複数行の数値の入力を取得
if s[i]=1:
count += 1
else:
count = count |
s018529531 | p03493 | u497596438 | 1559353821 | Python | PyPy3 (2.4.0) | py | Runtime Error | 180 | 38256 | 189 | #include<bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < n; i++)
using namespace std;
int main(){
string s;
int ans=0;
cin >> s;
rep(i,3) ans+=s[i]-'0';
cout <<ans <<endl;
}
|
s056026308 | p03493 | u663014688 | 1559004356 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 180 | N = int(input())
A = list(map(int, input().split()))
cnt = 0
#A内のaすべてが偶数の場合
while all(a%2==0 for a in A):
A = [a/2 for a in A]
cnt += 1
print(cnt)
|
s883473904 | p03493 | u403355272 | 1558896322 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | s1,s2,s3 = map(int,input().split())
l = []
l += [s1,s2,s3]
print(l.count(1)) |
s885067262 | p03493 | u611562941 | 1558822325 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 340 | n, k = map(int,input().split())
lst = list(map(int,input().split()))
a=[]#種類の記憶
for i in range(n):
if a.count(lst[i]) == 0:
a.append(lst[i])
c=[]#カウント用
for j in a:
c.append(lst.count(j))
ans = 0
while k < len(c):
i = c.index(min(c)) #最小の個数のインデックス
ans += min(c)
del c[i]
print(ans) |
s819350213 | p03493 | u579832365 | 1558794808 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | s1,s2,s3 = map(int, input().split())
print(s1+s2+s3)
|
s652799740 | p03493 | u579832365 | 1558794681 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | s1,s2,s3 = map(int, input().split())
print(s1+s2+s3) |
s690757210 | p03493 | u155774139 | 1558717614 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 73 | a,b,c= map(str, input().split())
print("{}{}{}".format(a,b,c).count("1")) |
s042141293 | p03493 | u701318346 | 1558666075 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s262900651 | p03493 | u491539020 | 1558459220 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 165 | a = input()
if a == 111:
print("3")
elif a == 101 or a==110 or a== 11:
print("2")
elif a = 0:
print("0")
else:
print("1") |
s795768599 | p03493 | u491539020 | 1558459107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | a = input()
if a == 111:
print("3")
elif a == 101 | a==110 | a== 11:
print("2")
elif a = 0:
print("0")
else:
print("1") |
s344310918 | p03493 | u791013618 | 1558453747 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | s = input()
count = 0
for c in s:
if c == '1':
count++
print(count) |
s536104279 | p03493 | u933722792 | 1558449550 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3316 | 167 | from collections import Counter
n, k = map(int, input().split())
a = list(map(int, input().split()))
a = Counter(a)
a = sorted(a.values())
print(sum[a[:len(a) - k]])
|
s435929890 | p03493 | u933722792 | 1558449523 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 167 | from collections import Counter
N, K = map(int, input().split())
A = list(map(int, input().split()))
A = Counter(A)
A = sorted(A.values())
print(sum[A[:len(A) - k]])
|
s554922268 | p03493 | u046585946 | 1558295474 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | s=list(int(input()))
ans=0
for i in s:
if i==1:
ans=ans+1
print(ans) |
s393056090 | p03493 | u337404512 | 1558295108 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 503 | # -*- coding: utf-8 -*-
#問題文
#すぬけ君は 1,2,3 の番号がついた 3 つのマスからなるマス目を持っています。 各マスには 0 か 1 が書かれており、マス i
# には si が書かれています。
#すぬけ君は 1 が書かれたマスにビー玉を置きます。 ビー玉が置かれるマスがいくつあるか求めてください。
#制約
#s1,s2,s3 は 1 あるいは 0
s = str(raw_input())
count += 1 for count in s > 0 if s%10 == 1
print count
|
s110312384 | p03493 | u337404512 | 1558294492 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 55 | s1,s2,s3 = map(int, raw_input().split())
ans = s1+s2+s3 |
s173237026 | p03493 | u337404512 | 1558294373 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 64 | a, b, c = map(int, raw_input().split())
ans = a+b+c
print a+b+c |
s454947053 | p03493 | u630136382 | 1558289857 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 20 | print(int(S1+S2+S3)) |
s445735302 | p03493 | u940939306 | 1558163672 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
s953201921 | p03493 | u870198083 | 1557744619 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 69 | data = list(lambda x:int(x),input().strip().split())
print(sum(data)) |
s204256721 | p03493 | u743154453 | 1557545577 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 298 | N = int(input())
A = list(map(int, input().split()))
exec_count = 0
while True:
exist_odd = False
for i in range(N):
if A[i]%2 == 1:
exist_odd = True
if exist_odd == True:
break
else:
exec_count += 1
for i in range(N):
A[i] = A[i]/2
print(exec_count) |
s538593107 | p03493 | u577942884 | 1557248253 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | a = input()
a = int(a)
b = a[0]+a[1]+a[2]
print(b) |
s405083040 | p03493 | u450883456 | 1557199251 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 86 | li = input().split()
c = 0
for i in range(0,3):
if li[i]=='1':
c++
print(c) |
s023072307 | p03493 | u450883456 | 1557199213 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 78 | li = input()
c = 0
for i in range(0,3):
if li[i]=='1':
c++
print(c) |
s855361827 | p03493 | u450883456 | 1557199057 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | li = map(input())
c = 0
for i range 3:
if li[i]=='1':
c++
print(c) |
s966093409 | p03493 | u775673382 | 1556984890 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 184 | # 数値の入力
a, b, c = map(int, input().split())
if a < 0 or b < 0 or c < 0:
print("false")
if a > 1 or b > 1 or c > 1:
print("false")
else:
print("{}".format(a+b+c))
|
s827816821 | p03493 | u096983897 | 1556968010 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 210 | import sys
size = int(input())
a = map(int, input().split())
cnt = 0
while True:
for i in range(size):
if(a[i]%2 == 1):
print(cnt)
sys.exit()
a = list(map(lambda x:x/2, a))
cnt+=1 |
s924219179 | p03493 | u096983897 | 1556967440 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 206 | import sys
size = int(input())
a = map(int, input().split())
cnt = 0
while true:
for i in range(size):
if(a[i]%2 == 1):
print(cnt)
sys.exit()
a = map(lambda x:x/2, a)
cnt +=1
|
s135585713 | p03493 | u096983897 | 1556966631 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 228 | loop = input()
a = map(int, input().split())
cnt = 0
while(1):
flg = 0
for i in a:
if(a%2 == 1):
flg = 1
break
if(flg == 0):
a = map(lambda x:x/2, a)
cnt += 1
else:
break
print(cnt) |
s142103538 | p03493 | u096983897 | 1556966302 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 216 | loop = input()
a = map(int, input().split())
cnt = 0
while(1):
flg = 0
for i in a:
if(a%2 == 1):
flg = 1
if(flg == 0):
a = map(lambda x:x/2, a)
cnt += 1
else:
break
print(cnt) |
s413314494 | p03493 | u096983897 | 1556966214 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 216 | loop = input()
a = map(int, input().split())
cnt = 0
while(1):
flg = 0
for i in a:
if(a%2 == 1):
flg = 1
if(flg == 0):
a = map(lamda x:x/2, a)
cnt += 1
else:
break
print(cnt)
|
s764919610 | p03493 | u717993780 | 1556920105 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s = input()
print(int(s.count("1")) |
s354245887 | p03493 | u717993780 | 1556920038 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | s = input()
print(int(s.count(1)) |
s595604949 | p03493 | u204800924 | 1556915578 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 250 | N = int(input())
A = map(int, input().split())
count = -1
flag = True
while flag == True:
count += 1
for i in range(N):
if A[i]%2 == 0:
A[i] /= 2
else:
flag = False
break
print(count)
|
s292734819 | p03493 | u204800924 | 1556909547 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 102 | s = input()
t = 0
if s[0] == "1":
t++
if s[1] == "1":
t++
if s[2] == "1":
t++
print(t)
|
s376605280 | p03493 | u564060397 | 1556855220 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 27 | S=input()
print(S.count(1)) |
s251873523 | p03493 | u507116804 | 1556682255 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 17 | print(count("1")) |
s417747495 | p03493 | u194894739 | 1556630988 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 30 | s = input()
print(s.count(1))
|
s659348858 | p03493 | u062306892 | 1556607338 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 165 | n = int(input())
a = [int(i) for i in input().split()]
ans = 0
while True:
if [i for i in a if i%2 == 1]:
break
a = [ i//2 for i in a]
ans += 1
print(ans) |
s681897615 | p03493 | u062306892 | 1556607251 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 166 | n = int(input())
a = [int(i) for i in input().spliit()]
ans = 0
while True:
if [i for i in a if i%2 == 1]:
break
a = [ i//2 for i in a]
ans += 1
print(ans) |
s434333999 | p03493 | u062306892 | 1556606728 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | n = int(input())
a = [int(i) for i in input().spliit()]
ans = 0
while True:
if a%2 == 1:
break
a = a//2
ans += 1
print(ans) |
s769631021 | p03493 | u062306892 | 1556606578 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 132 | n = int(input())
a = list(map(int, input().split()))
ans = 0
while True:
if a%2 == 1:
break
a = a//2
ans += 1
print(ans) |
s807223450 | p03493 | u062306892 | 1556606460 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 120 | n = int(input())
a = list(map(int, input().split()))
ans = 0
while True:
if a%2 == 1:
break
ans += 1
print(ans) |
s343513658 | p03493 | u062306892 | 1556606339 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 125 | n = int(input())
a = list(map(int, input().split()))
ans = 1
while True:
if a%2 == 1:
print(0)
print(ans)
ans += 1 |
s826116113 | p03493 | u325282913 | 1556576304 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 243 | N = int(input())
A = list(map(int, input().split()))
ans = 0
flg = "True"
while flg == "True":
ans = ans + 1
for i in range(N):
if A[i] % 2 == 0:
A[i] = A[i] / 2
else:
flg = "False"
print(ans)
|
s942258069 | p03493 | u325282913 | 1556576272 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3316 | 243 | N = int(input())
A = list(map(int, input().split()))
ans = 0
flg = "True"
while flg == "True":
for i in range(N):
if A[i] % 2 == 0:
A[i] = A[i] / 2
else:
flg = "False"
ans = ans + 1
print(ans)
|
s029002783 | p03493 | u325282913 | 1556576202 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 238 | N = int(input())
A = list(map(int, input().split()))
ans = 0
flg = "True"
while flg == "True":
for i in range(N):
if A[i] % 2 == 0:
A[i] = A[i] / 2
else:
flg = "False"
ans += 1
print(ans)
|
s267777121 | p03493 | u325282913 | 1556576172 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 240 | N = int(input())
A = list(map(int, input().split()))
ans = 0
flg == "True"
while flg == "True":
for i in range(N):
if A[i] % 2 == 0:
A[i] = A[i] / 2
else:
flg == "False"
ans += 1
print(ans)
|
s061342556 | p03493 | u325282913 | 1556576047 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 208 | N = int(input())
A = list(map(int, input().split()))
ans = 0
while(True):
for i in range(N):
if A[i] % 2 == 0:
A[i] = A[i] / 2
else:
break
ans += 1
print(ans)
|
s851681768 | p03493 | u325282913 | 1556573497 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | a = str(input())
ans = 0
if a[0] == 0:
ans++
if a[1] == 0:
ans++
if a[2] == 0:
ans++
print(ans)
|
s408666403 | p03493 | u816935184 | 1556555606 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 233 | cnt=0
b=1
N=int(input())
A=input().split()
A=[int(A[j]) for j in range(N)]
while b==1:
for i in range(N):
if A[i]%2==0:
A[i]=A[i]/2
else:
b=0
break
if b==1:
cnt+=1
else:
break
print(cnt) |
s704078285 | p03493 | u475675023 | 1556425725 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | a,b,c=int(input())
print(a+b+c) |
s325635145 | p03493 | u475675023 | 1556425345 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | S=list(input())
print(len([i for i in S if S[i]=='1'])) |
s438172978 | p03493 | u016128476 | 1556392698 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 191 | n, k = (int(i) for i in input().split())
balls = list(int(i) for i in input().split())
ball_set = set(balls)
freqs = list(balls.count(i) for i in ball_set)
freqs.sort()
print(sum(freqs[k:]))
|
s077480081 | p03493 | u638709900 | 1556305280 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 165 | s1,s2,s3 = (int(x) for x in input().split())
count1 = 0
for i in range(1,4,1):
if s1 == 1:
count1 = count1 + 1
else:
pass
print(count1) |
s611271136 | p03493 | u739721456 | 1556280428 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 107 | a,b,c=map(int,input().split())
ans=0
if a==1:
ans+=1
if b==1:
ans+=1
if c==1:
ans+=1
print(ans) |
s189512751 | p03493 | u680004123 | 1556077372 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3052 | 90 | s = (int(x) for i in input())
count = 0
if[i for i in s if i == 1]:
count+=1
print(count) |
s379193132 | p03493 | u680004123 | 1556076940 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 66 | s = (int, input().split())
count = 0
for i in s if s==1:
count+=1 |
s261796323 | p03493 | u488737015 | 1556070830 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 304 | n = int(input())
int_list = list(map(int, input().split()))
count = 0
while True:
isOdd = False
for i in range(n):
if(int_list[i] % 2 != 0):
isOdd = True
if isOdd:
break
for i in range(n):
int_list[i] = int_list[i]/2
count = count + 1
print(count)
|
s110510497 | p03493 | u488737015 | 1556069942 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 300 | n = input()
int_list = list(map(int, input().split()))
count = 0
while True:
isOdd = False
for i in range(n):
if(int_list[i] % 2 != 0):
isOdd = True
if isOdd:
break
for i in range(n):
int_list[i] = int_list[i]/2
count = count + 1
print(count)
|
s623851703 | p03493 | u488737015 | 1556069855 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 294 | n = input()
int_list = [int(i) for i in input()]
count = 0
while True:
isOdd = False
for i in range(n):
if(int_list[i] % 2 != 0):
isOdd = True
if isOdd:
break
for i in range(n):
int_list[i] = int_list[i]/2
count = count + 1
print(count)
|
s921665360 | p03493 | u488737015 | 1556069795 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 302 | n = input()
int_list = [int(i) for i in input().split()]
count = 0
while True:
isOdd = False
for i in range(n):
if(int_list[i] % 2 != 0):
isOdd = True
if isOdd:
break
for i in range(n):
int_list[i] = int_list[i]/2
count = count + 1
print(count)
|
s882032479 | p03493 | u488737015 | 1556068543 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 178 | str_list = input().split()
count = 0
if str_list[0] == '1':
count = count + 1
if str_list[1] == '1':
count = count + 1
if str_list[2] == '1':
count = count + 1
print(count) |
s642596434 | p03493 | u488737015 | 1556068464 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | a, b, c = input().split()
count = 0
if a == '1':
count = count + 1
if b == '1':
count = count + 1
if c == '1':
count = count + 1
print(count) |
s166643496 | p03493 | u488737015 | 1556068422 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | a, b, c = input().split()
count = 0
if a == '1':
count = count + 1
if b == '1':
count = count + 1
if c == '1':
count = count + 1
echo(count) |
s992850957 | p03493 | u561862393 | 1556055195 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 68 | str = input()
t = 0
for s in str
t = t + int(str[s])
print(t) |
s049914964 | p03493 | u561862393 | 1556055158 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 68 | str = input()
t = 0
for s in str:
t = t + int(str[s])
print(t) |
s929891895 | p03493 | u561862393 | 1556054892 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | str = input()
for s in str:
a[s] = int(str[s])
print(sum(a))
|
s590033714 | p03493 | u076543276 | 1556040824 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | n=input()
cun=0
for i in n:
if i=='1':
con++
print(con) |
s957130592 | p03493 | u680004123 | 1555988820 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | -*- coding:utf-8 -*-
a,b,c = (int(x) for x in input())
list = [a, b, c]
count = 0
for i in list:
if i == 1:
count += 1
print(count)
|
s573475692 | p03493 | u680004123 | 1555988696 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | -*- coding:utf-8 -*-
a,b,c = int(x) for x in input()
list = [a, b, c]
count = 0
for i in list:
if i == 1:
count += 1
print(count) |
s549828113 | p03493 | u373703188 | 1555983911 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a, b, c = map(int, input().split())
x = a + b + c
print(x) |
s177896666 | p03493 | u373703188 | 1555983105 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a, b, c = map(int, input().split())
x = a + b + c
print(x) |
s968416564 | p03493 | u013756322 | 1555896658 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | s = inupt()
print(s.count('1')) |
s197236574 | p03493 | u979362546 | 1555856374 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 23 | print(input().count(1)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.