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
s218733037
p03493
u568711768
1588422685
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
N = str(input()) s = 0 for i in range(0,2): if N[i] = 1: s = s + 1 print(s)
s915951418
p03493
u190079347
1588373650
Python
Python (3.4.3)
py
Runtime Error
18
3060
193
n,k = map(int,input().split()) a = list(map(int,input().split())) b = set(a) c = [] for i in b: c.append(a.count(i)) c.sort(reverse=True) #if len(c) == k: #print(0) #else: print(sum(c[k:]))
s740711026
p03493
u253422591
1588351202
Python
Python (3.4.3)
py
Runtime Error
17
3060
275
n = int(input()) a=list(map(int, input().split())) count = 0 success = True while True: for i, ele in enumerate(a): if ele % 2 == 0: a[i] = ele / 2 else: success = False if not success: break count += 1 print(count)
s915898251
p03493
u829416877
1588290142
Python
Python (2.7.6)
py
Runtime Error
10
2568
25
print(input().count("1"))
s076705335
p03493
u026788530
1588278447
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
a=[int(x) for x in in input()] print(sum(a))
s568979144
p03493
u095058200
1588213536
Python
Python (3.4.3)
py
Runtime Error
18
2940
24
print(input().count(1))
s886252327
p03493
u095058200
1588213473
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
print(input(),.count(1))
s636944196
p03493
u018591138
1588207550
Python
Python (3.4.3)
py
Runtime Error
17
3060
273
n = int(input()) a = map(int, input().split()) count = 0 flag = True while(flag): tmp_a = [] for i in a: if i % 2 !=0: flag = False break tmp_a.append(i/2) a = tmp_a if flag == True: count += 1 print(count)
s993579269
p03493
u701017915
1588188134
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a, b, c = map(int, input().split()) print(a + b + c)
s832842564
p03493
u413312755
1588134625
Python
Python (3.4.3)
py
Runtime Error
17
2940
221
n = int(input()) a = map(int, input().split()) def how_many_times_divisible(n): ans = 0 while n % 2 == 0: n /= 2 ans += 1 return ans ans = min(map(how_many_times_divisible, a)) print(ans)
s818958855
p03493
u323532272
1588121060
Python
Python (3.4.3)
py
Runtime Error
17
2940
138
N = input() count = 0 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)
s147512552
p03493
u681323954
1588120916
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
s = input() cnt = 0 for i in s: if i == '1': cnt += 1: print(cnt)
s165658508
p03493
u718659561
1588115773
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
num=input() a=0 if int(num[0])==1: a++ if int(num[1])==1: a++ if int(num[2])==1: a++ print(a)
s369206227
p03493
u718659561
1588115468
Python
Python (3.4.3)
py
Runtime Error
18
3064
100
str=int(input()) a=0 if str[0]==1: a++ if str[1]==1: a++ if str[2]==1: a++ print(a)
s914962279
p03493
u718659561
1588115393
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
str=input() a=0 if str[0]==1: a++ if str[1]==1: a++ if str[2]==1: a++ print(a)
s223332698
p03493
u718659561
1588114898
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
s_1,s_2,s_3=map(int,input().split()) a=0 if s_1==1: a++ if s_2==1: a++ if s_3==1: a++ print(a)
s343459943
p03493
u718659561
1588114855
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
s_1,s_2,s_3=map(int,input().split()) if s_1==1: a++ if s_2==1: a++ if s_3==1: a++ print(a)
s488305168
p03493
u018591138
1588034672
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
str = input() count = 0 if str[0] == "1": count+=1 if str[1] == "1": count+=1 if str[2] == "1": count+=1 printt(count)
s823681590
p03493
u584520370
1587992407
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
s = int(input()) a = 0 for n in s : if n == 1: a += 1 print(a)
s285168540
p03493
u749071216
1587831475
Python
Python (3.4.3)
py
Runtime Error
17
3060
235
import math N=int(input()) a = input().split() a_num= [int(s) for s in a] count=0 while True: for i in range(len(a_num)): a_num[i]=math.floor(a_num[i]/2) count +=1 if a_num[i]%2 != 0: break print(count-1)
s725107407
p03493
u419963262
1587806105
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print(sum(list(int,input().split())))
s429597802
p03493
u267577436
1587741412
Python
Python (3.4.3)
py
Runtime Error
18
2940
119
s = string(input()) s_tuple = s[0:1],s[1:2],s[2:3] i = 0 for sb in s_tuple: if sb == '1': i = i + 1 print(i)
s448372474
p03493
u267577436
1587741205
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
s = string(input()) s_tuple = s[0:1],s[1:2],s[2:3] i = 0 for sb in s_tuple: if sb == '1': i == i + 1 print(i)
s728564217
p03493
u267577436
1587741133
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
s = string(input()) s_tuple = s[0:1],s[1:2],s[2:3] i = 0 for sb in s_tuple if sb == '1': i == i + 1 print(i)
s898647149
p03493
u549161102
1587736405
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
N=input() list=list(map(int, input().split())) m=0 while all(a%2==0 for a in list): list=[a/2 for a in list] m += 1 print(m)
s820583104
p03493
u549161102
1587736291
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
N = input() list = list(map(int, input().split())) count = 0 while all(a % 2 == 0 for a in list): list = [a/2 for a in list] count += 1 print(count)
s293501943
p03493
u854550470
1587663095
Python
Python (3.4.3)
py
Runtime Error
17
3060
187
n = int(input()) nums = [int(i) for i in input().split()] ans = 0 while True: if [i for i in nums if i % 2 == 1]: break nums = [i//2 for i in nums] ans += 1 print(ans)
s188680378
p03493
u854550470
1587662960
Python
Python (3.4.3)
py
Runtime Error
18
2940
179
n = int(input()) nums = [int(i) for i in input().split()] ans = 0 while Ture: if [i for i in nums if i % 2 == 1]: break nums = [ i//2 for i in nums] ans += 1 print(ans)
s441678790
p03493
u854550470
1587654409
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
s = input() print(s.count(1))
s393288506
p03493
u867132034
1587601305
Python
Python (3.4.3)
py
Runtime Error
17
2940
133
N=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)
s848039283
p03493
u867132034
1587599995
Python
Python (3.4.3)
py
Runtime Error
17
3064
133
N=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)
s756667975
p03493
u867132034
1587593688
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input().count(1))
s132947973
p03493
u932441661
1587589152
Python
Python (3.4.3)
py
Runtime Error
18
2940
92
a, b = input().split() if (int(a)*int(b))%2 == 0: print ("Even") else: print ("Odd")
s569416034
p03493
u290686008
1587506465
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
s = input() c = s.count(1) print(c)
s603723582
p03493
u798260206
1587491209
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
N = input() print(N.count(1))
s483179464
p03493
u798260206
1587491077
Python
Python (3.4.3)
py
Runtime Error
17
2940
164
a,b,c = map(int,input().spilt()) n = 0 if a == 1: n += 1 else: pass if b == 1: n += 1 else: pass if c == 1: n += 1 else: pass print(n)
s247814041
p03493
u762755436
1587482140
Python
Python (3.4.3)
py
Runtime Error
19
3060
216
N = int(input()) A = [int(i) for i in input().split()] en = 0 con = True while con : en += 1 for i in range(N) : if A[i] % 2 == 0 : A[i] = int( A[i] / 2 ) else : en -= 1 con = False break print(en)
s310694155
p03493
u762755436
1587480171
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
s = input() for i in s: if int(i) == 1: num += 1 print(num)
s843898545
p03493
u869265610
1587337218
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
S=list(map(input().split())) print(S.count("1"))
s987030321
p03493
u199588618
1587238057
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,c=map(int,input().split()) S=[a,b,c] print(S.count(1))
s917371104
p03493
u199588618
1587238005
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38256
58
a,b,c=map(int,input().split()) S=[a,b,c] print(S.count(1))
s218668338
p03493
u199588618
1587237962
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38512
72
import math a,b,c=map(int,input().split()) S=[a,b,c] print(S.count(1))
s174841644
p03493
u100785317
1587234119
Python
Python (3.4.3)
py
Runtime Error
17
2940
167
a,b,c = int(input()) testList = [a,b,c] def countOne(self,list): count =0 for i in list: if i == 0: count +=1 return count print(countOne(testList))
s459971939
p03493
u100785317
1587234100
Python
Python (3.4.3)
py
Runtime Error
17
2940
163
a,b,c = int(input()) testList = [a,b,c] def countOne(self,list): count =0 for i in list: if i == 0: count +=1 return count print(countOne(list))
s938786627
p03493
u100785317
1587233943
Python
Python (3.4.3)
py
Runtime Error
19
3060
153
list = list(input().split("")) def countOne(self,list): count =0 for i in list: if i == 0: count +=1 return count print(countOne(list))
s119337284
p03493
u082704159
1587092082
Python
Python (3.4.3)
py
Runtime Error
18
2940
117
num = line(map(int,input().split())) count = 0 for i in range(3): if num[i] == 1: count += 1 print(count)
s022432530
p03493
u153259685
1587062832
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input().count(1))
s398059483
p03493
u153259685
1587062808
Python
Python (3.4.3)
py
Runtime Error
17
2940
22
print(input().count(1)
s684435787
p03493
u205046116
1587002918
Python
Python (3.4.3)
py
Runtime Error
17
2940
24
print(input().count("1")
s356943661
p03493
u727551259
1586918988
Python
Python (3.4.3)
py
Runtime Error
18
3064
373
n,k=map(int,input().split()) a=sorted(list(map(int,input().split()))) def groupby(): global a a2=[[a[0],1]] for i in range(1,len(a)): if a2[-1][0]==a[i]: a2[-1][1]+=1 else: a2.append([a[i],1]) return a2 b=groupby() b.sort(key=lambda x:x[1],reverse=True) l=len(b) a...
s202705279
p03493
u727551259
1586918450
Python
Python (3.4.3)
py
Runtime Error
18
3064
404
n,k=map(int,input().split()) a=sorted(list(map(int,input().split()))) def groupby(src_list): dest_list=[[src_list[0],1]] for i in range(1,len(src_list)): if dest_list[-1][0]==src_list[i]: dest_list[-1][1]+=1 else: dest_list.append([src_list[i],1]) return dest_list b=groupby(a) b.sort(key=lambd...
s609885360
p03493
u215753631
1586910195
Python
Python (3.4.3)
py
Runtime Error
17
3060
292
n = int(input()) a_i = list(map(int,input().split(" "))) def count_howmany_divide(val): result = 0 while(True): if val % 2 != 0: break else: val /= 2 result += 1 return result a_i_divided = list(map(count_howmany_divide, a_i)) print(min(a_i_divided))
s272034893
p03493
u215753631
1586909746
Python
Python (3.4.3)
py
Runtime Error
18
3060
303
n = int(input()) a_i = list(map(int,input().split(" "))) counter = 0 break_flag = False while(True): for a_i_item in a_i: if a_i_item % 2 != 0: break_flag = True break a_i = list(map(lambda val: val / 2, a_i)) if break_flag == True: break counter += 1 print(counter)
s904092295
p03493
u873839198
1586806006
Python
Python (3.4.3)
py
Runtime Error
17
2940
360
n: int = input() number: int = [] count: int = 0 flag: bool = False number = list(map(int, input().split())) while flag != True: tmp: int = [] for n in number: if n % 2 == 0: tmp.append(n / 2) else: flag = True break if flag: print(count) ...
s623831023
p03493
u873839198
1586803957
Python
Python (3.4.3)
py
Runtime Error
17
2940
327
n: int = input() number: int = [input()] count: int = 0 flag: bool = False while flag != True: tmp: int = [] for n in number: if n % 2 == 0: tmp.append(n / 2) else: flag = True break if flag: print(count) break number = tmp coun...
s382317501
p03493
u602158689
1586801058
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
board = input().split() counter = 0 if board[0] == "1": counter++ if board[1] == "1": counter++ if board[2] == "1": counter++ print(counter)
s452114538
p03493
u166737769
1586800651
Python
Python (3.4.3)
py
Runtime Error
18
3060
56
S1,S2,S3=map(input().split()) print(input().count("1"))
s028096822
p03493
u166737769
1586800542
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
S1,S2,S3=map(input().split()) print(count"1")
s447808890
p03493
u881028805
1586784282
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input().count(1))
s775576697
p03493
u834450722
1586760045
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
print(map(lambda x : x = x + 1 , input())
s016502866
p03493
u107798522
1586748625
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
sss = input() s1 = int(sss[0]) s2 = int(sss[1]) s3 = int(sss[2]) print(%d, s1+s2+s3)
s735529624
p03493
u303913580
1586738631
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
s=list(input()) print(List.count("1"))
s187965306
p03493
u919235786
1586670631
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() print(s.count(1))
s625357292
p03493
u304593245
1586525740
Python
Python (3.4.3)
py
Runtime Error
18
2940
140
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)
s444096781
p03493
u304593245
1586525683
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
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)
s754526029
p03493
u179750651
1586482180
Python
Python (3.4.3)
py
Runtime Error
18
2940
32
s=str(input()) print(s.count(1))
s223257474
p03493
u179750651
1586481572
Python
Python (3.4.3)
py
Runtime Error
17
2940
33
l=str(s1,s2,s3) print(l.count(1)
s401527608
p03493
u179750651
1586481473
Python
Python (3.4.3)
py
Runtime Error
18
3064
31
l=str(s1s2s3) print(l.count(1))
s214056847
p03493
u179750651
1586481439
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
l=str(s1s2s3) print(l.count(1)
s819807741
p03493
u179750651
1586480375
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
s1,s2,s3=map(int,input().split()) if 0 == (s1+s2+s3): print('0') elif 1 == (s1+s2+s3): print('1') elif 2 == (s1+s2+s3): print('2') else 3 == (s1+s2+s3): print('3')
s888740657
p03493
u179750651
1586480016
Python
Python (3.4.3)
py
Runtime Error
17
2940
163
s1,s2,s3=map(int,input().split()) if 0 == (s1+s2+s3): print(0) elif 1 == (s1+s2+s3): print(1) elif 2 == (s1+s2+s3): print(2) else 3 == (s1+s2+s3): print(3)
s748694925
p03493
u179750651
1586479835
Python
Python (3.4.3)
py
Runtime Error
18
2940
49
s1,s2,s3=map(int,input().split()) print(s1+s2+s3)
s342050178
p03493
u179750651
1586478814
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b=map(int,input().split()) if 0 == ((a*b)%2): print('even') else: print('Odd')
s450647935
p03493
u700806147
1586456968
Python
Python (3.4.3)
py
Runtime Error
17
3064
294
n = int(input()) a = list(map(int, input().split())) def 割れる回数(a): 回数 = 0 while a % 2 == 0: 回数 += 1 a = a // 2 return 回数 割れる回数のリスト = [割れる回数(a_i) for a_i in a] 答え = min(割れる回数のリスト) print(答え)
s217060778
p03493
u149368256
1586397106
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input().count(1))
s181799144
p03493
u790876967
1586312023
Python
Python (3.4.3)
py
Runtime Error
18
2940
335
_ = int(input()) num_list = list(map(int, input().split())) count = 0 is_all_even = None while True: for num in num_list: if num % 2 != 0: is_all_even = False break if is_all_even is not None: break count += 1 num_list = list(map(lambda x: x / 2, num_list)) pri...
s930250141
p03493
u642874916
1586296402
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38384
47
s = input() print(len([i for i in s i == '1']))
s401558654
p03493
u851704997
1586252173
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input.count("1"))
s479952888
p03493
u785099003
1586208325
Python
Python (3.4.3)
py
Runtime Error
18
2940
135
string s = input() count = 0 if (s[0] == '1'): count++ if (s[1] == '1'): count++ if (s[2] == '1'): count++ print(count)
s757476074
p03493
u785099003
1586208182
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
s = input() count = 0 if (s[0] == '1'): count++ if (s[1] == '1'): count++ if (s[2] == '1'): count++ print(count)
s863331555
p03493
u785099003
1586207963
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
s = input().split() count = 0 if (s[0] == '1'): count++ if (s[1] == '1'): count++ if (s[2] == '1'): count++ print(count)
s187921217
p03493
u785099003
1586207616
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
s[] = input().split() count = 0 if (s[0] == '1'): count++ if (s[1] == '1'): count++ if (s[2] == '1'): count++ print(count)
s453791287
p03493
u675024268
1586201203
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
a, b, c = map(int, input().split()) count = 0 if a == 1: count += 1 if b == 1: count += 1 if c == 1: count += 1 print(count)
s354737196
p03493
u040141413
1586035889
Python
Python (3.4.3)
py
Runtime Error
17
2940
124
s=input().splitlines() count = 0 if(s[0]==1): count+=1 if(s[1]==1): count+=1 if(s[2]==2): count+=1 print(count)
s977751475
p03493
u619903722
1586034097
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
list=[int(i) for i in input().split()] a=0 for i in list: if i==1: a=a+1 elif: a=a+0 print(a)
s606022449
p03493
u349476738
1585793514
Python
Python (3.4.3)
py
Runtime Error
18
2940
124
# coding: utf-8 s = input() sum = int(0) if s[0] = 1: sum++ if s[1] = 1: sum++ if s[2] = 1: sum++ print(sum)
s574701329
p03493
u065578867
1585619445
Python
Python (3.4.3)
py
Runtime Error
18
2940
313
n = int(input()) numbers = list(map(int, input().split())) ans = 0 while True: index = 1 for i in range(n): if numbers[i] % 2 == 0: numbers[i] = numbers[i] / 2 else: index = 0 break if index == 1: ans += 1 else: break print(ans)
s326929915
p03493
u368565256
1585603405
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
from sys import stdin s1, s2, s3 = [x for x in list(stdin.readline())]
s736965320
p03493
u368565256
1585603373
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
from sys import stdin s1, s2, s3 = [x for x in list(stdin.readline())] print(int(s1)+int(s2)+int(s3))
s126358274
p03493
u368565256
1585603322
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
from sys import stdin [int(x) for x in list(stdin.readline())]
s598292655
p03493
u368565256
1585603255
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
from sys import stdin [for x in list(stdin.readline())]
s874762009
p03493
u368565256
1585603181
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
from sys import stdin [int(x) for x in list(stdin.readline())]
s553075980
p03493
u368565256
1585603079
Python
Python (3.4.3)
py
Runtime Error
19
2940
62
from sys import stdin [int(x) for x in list(stdin.readline())]
s739076428
p03493
u368565256
1585602864
Python
Python (2.7.6)
py
Runtime Error
15
2820
98
from sys import stdin s1, s2, s3 = [int(x) for x in list(stdin.readline())] print(str(s1+s2+s3))
s236400617
p03493
u368565256
1585602846
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
from sys import stdin s1, s2, s3 = [int(x) for x in list(stdin.readline())] print(str(s1+s2+s3))
s440859310
p03493
u368565256
1585602717
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
from sys import stdin s1, s2, s3 = [int(x) for x in list(stdin.readline())] print(s1+s2+s3)
s954233079
p03493
u368565256
1585602618
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
from sys import stdin s1, s2, s3 = [int(x) for x in list(stdin.readline())] print(s1+s2+s3)
s737566849
p03493
u354863714
1585592641
Python
Python (3.4.3)
py
Runtime Error
17
3060
236
N = int(input()) A_list = list(map(int,input().split())) iter_num_list = [] for a in A_list: count = 0 while a%2 == 0: a = a/2 count += 1 iter_num_list.append(count) ans = sorted(iter_num_list)[0] print(ans)
s360792864
p03493
u354863714
1585547049
Python
Python (3.4.3)
py
Runtime Error
17
3064
314
#(問3)ANS-1 iter = map(int,input().split()) all_list = [] for i in iter: all_list.append(i) N = all_list[0] A_list = all_list[1:] iter_num_list = [] for a in A_list: count = 0 while a%2 == 0: a = a/2 count += 1 iter_num_list.append(count) ans = sorted(iter_num_list)[0] print(ans)
s150976942
p03493
u502389123
1585542428
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(input.count('1'))