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
s011479001
p03693
u003928116
1551151365
Python
Python (3.4.3)
py
Runtime Error
18
2940
100
a, b, c = map(int, input().split()) if (100*a + 10*b + c) %4 = 0: print("YES") else: print("NO")
s301755867
p03693
u392029857
1551028010
Python
Python (3.4.3)
py
Runtime Error
18
2940
98
r, g, b = map(str, input().split()) if int(a+g+b) % 4 == 0: print("YES") else: print("NO")
s790288617
p03693
u543954314
1550360185
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
s = input().split() int(''.join(s)) % 4 == 0: print("YES") else: print("NO")
s541257332
p03693
u444856278
1549170275
Python
Python (3.4.3)
py
Runtime Error
20
3060
50
print(["NO","YES"][int("".join(input().split()))])
s888514807
p03693
u444856278
1549170207
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
print(["NO","YES"][int(input())%4==0])
s199413142
p03693
u423939201
1546442725
Python
Python (3.4.3)
py
Runtime Error
18
2940
87
r, g, b = map(int, input().split()) if r*g*b % 4 ==0: print("YES") else: print("NO)
s342041107
p03693
u726439578
1546130375
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
a,b,c=map(str,input().split()) m=int(a+b+c) if n%4==0: print("YES") else: print("NO")
s949647399
p03693
u726439578
1546114448
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
a,b,c=map(str,input().split()) print(n) if n%4==0: print("YES") else: print("NO")
s391790497
p03693
u102960641
1545970706
Python
Python (3.4.3)
py
Runtime Error
17
3064
250
n = input() a = list(map(int, input().split())) colored = [0,0,0,0,0,0,0,0] god = 0 for i in a: if i >= 3200: god += 1 else: colored[i // 400] += 1 color = 8 - colored.count(0) if color == 0: print(1,god) else: print(color, color+god)
s785745094
p03693
u102960641
1545509215
Python
Python (3.4.3)
py
Runtime Error
18
3188
77
a,b,c = input().split() d = a+b+c print("YES") if d % 4 == 0 else print("NO")
s163494178
p03693
u371467115
1544984877
Python
Python (3.4.3)
py
Runtime Error
18
2940
85
S=map(int,input().replace(" ","")) if S%4==0: print("YES") else: print("NO")
s963630830
p03693
u371467115
1544984756
Python
Python (3.4.3)
py
Runtime Error
18
2940
84
S=map(int,input().replace(" ","")) if S%4==0: print("YES") else: print("NO")
s573047161
p03693
u093033848
1544253490
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
s = input() count = 0 for i in s: if int(i) == 1: count += 1 print(count)
s262843913
p03693
u928784113
1544201862
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
# -*- coding: utf-8 -*- r,g,b = int(input()) S = "r"+"g"+"b" T = int(input(S)) if T % 4 == 0: print("YES") else: print("NO")
s530349901
p03693
u693776163
1543774647
Python
Python (3.4.3)
py
Runtime Error
18
2940
132
r = int(input()) g = int(input()) b = int(input()) total = 100*r + 10*g + b if total //4 == 0: print("YES") else: print("NO")
s219142696
p03693
u106297876
1542166566
Python
Python (3.4.3)
py
Runtime Error
150
12444
625
import numpy as np N = int(input()) a = list(map(int, input().split())) d = np.arange(0, 3600, 400) c = [] for i in range(N): for j in range(len(d)-1): if d[j] <= a[i] < d[j + 1]: c.append(j) if a[i] >= 3200: c.append(8) import collections c_dict=collections.Counter(c) s_val, s_count=zip(*c_dict.most_commo...
s206943978
p03693
u432805419
1541380382
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
a = list(map(int,input().split())) b = "".join(a) if b % 4 == 0: print("YES") else: print("NO")
s616262579
p03693
u102960641
1540870744
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
n = int(input()) a = list(map(int,input().split())) a.sort() print(s[-1]-s[0])
s056448795
p03693
u601522790
1539889010
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
r, g, b = map(int, input().split()) ans = 0 ans += r * 100 + g * 10 + b if ans % 4 = 0: print("YES") else: print("NO")
s922604716
p03693
u601522790
1539888933
Python
Python (3.4.3)
py
Runtime Error
16
2940
126
r, g, b = map(int, input().split()) ans = 0 ans += r * 100 + g * 10 + b if ans % 4 = 0: print("YES") else: print("NO")
s351415260
p03693
u136869985
1539888586
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
r, g, b = input().split() a = int(r + g + b) print(["YES", "NO"][a % 4])
s524917255
p03693
u983918956
1539302729
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
r,g,b = map(int,input().split()) if (10*g + b) % 4 = 0: print("YES") else: print("NO")
s895354781
p03693
u983918956
1539302693
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
r,g,b = map(int,input().split()) if (10*g + b) % 4 = 0: print("YES") else: print("No")
s487363179
p03693
u405838364
1538883275
Python
Python (3.4.3)
py
Runtime Error
17
2940
220
r=input(input r:) g=input(input g:) b=input(input b:) s=100*r+10*g+b def abcd(r,g,b): p=10*g+b if p%4=0: return "YES" else: return "NO" print("Can {} be divided by 4?---{}.".format(s,abcd(r,g,b))
s631252741
p03693
u138486156
1538713172
Python
Python (3.4.3)
py
Runtime Error
16
2940
81
r, g, b = input().split() int(r+g+b) if n % 4: print("NO") else: print("YES")
s402813965
p03693
u094565093
1536876276
Python
Python (3.4.3)
py
Runtime Error
17
3060
181
r,g,b=map(int,input().split()) x=int(r+g+b) if x%4==0: print('YES') else: print('NO') r,g,b=map(int,input().spklit()) x=int(r+g+b) if x%4==0: print('YES') else: print('NO')
s270905951
p03693
u094565093
1536876239
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
r,g,b=map(int,input().spklit()) x=int(r+g+b) if x%4==0: print('YES') else: print('NO')
s358176816
p03693
u427344224
1536539826
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
rgb = input() print("YES" if int(rgb) % 4 == 0 else "NO")
s848737093
p03693
u601082779
1536025945
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a,b,c=(int,input().split());print('YNEOS'[(b*10+c)%4>0::2])
s713391972
p03693
u601082779
1536025906
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
a,b,c=(int,input().split());print('YNEOS'[b*10+c%4>0::2])
s460338515
p03693
u474270503
1535993153
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
r,g,b=map(int, input().split()) rgb=str(r)+str(g)+str(b) print("YES" if rgb%4==0 else "NO")
s535413914
p03693
u407535999
1535574581
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
l=map(raw_input().split()) a=int(l[0]) b=int(l[1]) c=int(l[2]) d=a*100+b*10+c if d==0: print("YES") else: print("NO")
s046860101
p03693
u407535999
1535574550
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
l = map(int, raw_input().split()) a=int(l[0]) b=int(l[1]) c=int(l[2]) d=a*100+b*10+c if d==0: print("YES") else: print("NO")
s914074993
p03693
u407535999
1535574341
Python
Python (3.4.3)
py
Runtime Error
18
2940
100
A,B,C=map(int(raw_input().split())) D=A*100+B*10+C if D%4==0: print("YES") else: print("NO")
s705724887
p03693
u407535999
1535574283
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
A,B,C=map(int,raw_input().split()) D=A*100+B*10+C if D%4==0: print("YES") else: print("NO")
s662234833
p03693
u407535999
1535574234
Python
Python (3.4.3)
py
Runtime Error
18
2940
104
A, B, C = map(int, raw_input().split()) D=A*100+B*10+C if D%4==0: print("YES") else: print("NO")
s259703821
p03693
u407535999
1535574198
Python
Python (3.4.3)
py
Runtime Error
17
2940
104
A, B, C = map(int, raw_input().split()) D=A*100+B*10;C if D%4==0: print("YES") else: print("NO")
s960655729
p03693
u952865396
1535570842
Python
Python (3.4.3)
py
Runtime Error
17
2940
200
#include <stdio.h> int main() { int r; int g; int b; scanf("%d %d %d",&r,&g,&b); int c=r*100+g*10+b; if (c%4==0) { printf("%s\n","YES"); } else { printf("%s\n","NO"); } }
s549969043
p03693
u952865396
1535570009
Python
Python (3.4.3)
py
Runtime Error
17
2940
240
#include <stdio.h> int main() { int r; int g; int b; char word1 = YES; char word2 = NO; scanf("%d %d %d",&r,&g,&b); int c=r*100+g*10+b; if (c%4==0) { printf("%c\n",word1); } else { printf("%d\n",word2); } }
s043805058
p03693
u952865396
1535569970
Python
Python (3.4.3)
py
Runtime Error
17
2940
240
#include <stdio.h> int main() { int r; int g; int b; char word1 = YES; char word2 = NO; scanf("%d %d %d",&r,&g,&b); int c=r*100+g*10+b; if (c%4==0) { printf("%c\n",word1); } else { printf("%d\n",word2); } }
s639016132
p03693
u407535999
1535569564
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
A,B,C= map(int(raw_input().split())) D=A*100+B*10+C if D%4==0: print("YES") else print("NO")
s377917591
p03693
u407535999
1535569078
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
A, B, C = map(int(raw_input().split())) D=A*100+B*10+C if D%4==0: print("YES") else print("NO")
s610335845
p03693
u407535999
1535568593
Python
Python (3.4.3)
py
Runtime Error
18
2940
98
A, B, C = map(int, raw_input().split()) if 100*A+10*B+C == 0: print("YES") else print("NO")
s349486675
p03693
u407535999
1535568300
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
l = map(int, raw_input().split()) a=l[0] b=l[1] c=l[2] d=100*a+10*b+c if d%4==0: print("YES") else print("NO")
s873903887
p03693
u407535999
1535568197
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
l = map(int, raw_input().split()) a=l[0] b=l[1] c=l[2] d=100*a+10*b+c if d%4==0: print("YES") else print("NO")
s813041858
p03693
u407535999
1535567845
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
input(),input(),input()=a,b,c a=int(a) b=int(b) c=int(c) d=100*a+10*b+c if d%4==0: print("YES") else print("NO")
s030071370
p03693
u407535999
1535567756
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
input(),input(),input()=a,b,c d=100*a+10*b+c if d%4==0: print("YES") else print("NO")
s827791589
p03693
u407535999
1535567693
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
input(),input(),input()=a,b,c d=100*a+10*b+c if d%4==0: print("YES") else print("NO")
s649430364
p03693
u759651152
1533599535
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
#-*-coding:utf-8-*- def main(): arry = list(map(int, input().split())) i = int(''.join(arry)) if i % 4 == 0: print('YES') else: print('NO') if __name__ == '__main__': main()
s072515394
p03693
u872328196
1531831044
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
l = input().split() n = int(l.join()) if n%4 == 0:print("Yes") else:print("No")
s619187820
p03693
u879761680
1530157922
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
c = list(map(int,input().split())) a = reduce((lambda x , y: x * y),c) if a%4 == 0: print("YES") else: print("NO")
s065141820
p03693
u879761680
1530157815
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
c = list(map(int,input().split())) a = reduce(lambda x , y: x * y),c) if a%4 == 0: print("YES") else: print("NO")
s542879880
p03693
u879761680
1530157590
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
c = list(map(int,input().split())) print(reduce(lambda x , y: x * y),c)
s621379211
p03693
u029169777
1529298284
Python
Python (3.4.3)
py
Runtime Error
17
3064
423
N=int(input()) flag=[0]*8 a=list(map(int,input().split())) count=0 for i in range(N): if 1<=a[i]<=399: flag[0]=1 if 400<=a[i]<=799: flag[1]=1 if 800<=a[i]<=1199: flag[2]=1 if 1200<=a[i]<=1599: flag[3]=1 if 1600<=a[i]<1999: flag[4]=1 if 2000<=a[i]<2399: flag[5]=1 if 2400<=a[i]<2799: flag[6]=...
s907972128
p03693
u153729035
1529030213
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
print('YES' if int(input())%500<=int(input()) else 'NO')
s319130834
p03693
u964998676
1526323578
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
digits = input('') if int(digits) % 4: print 'YES' else: print 'NO'
s917143929
p03693
u268793453
1525370328
Python
Python (3.4.3)
py
Runtime Error
20
3316
295
import collections n = int(input()) a = [int(i) for i in input().split()] d = collections.defaultdict(int) for i in a: i_ = i // 400 d[i_] += 1 if 8 in d: min_ = max(len(d) - 1, 1) max_ = min(len(d) + d[8] - 1, 8) else: min_ = len(d) max_ = len(d) print(min_, max_)
s950418444
p03693
u363610900
1522212555
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
r, g, b = map(str, input().split()) rgb = r + g + b if rgb % 4 == 0: print('YES') else: print('NO')
s675261757
p03693
u363610900
1522212506
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
r, g, b = map(str, input().split()) rgb = r + g + b if rgb % == 0: print('YES') else: print('NO')
s011332190
p03693
u027622859
1522077300
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
num = list(map(int, input().split())) num = "".join(num) if num % 4 == 0: print("YES") else: print("NO")
s526793448
p03693
u363610900
1522043846
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
# coding: utf-8 c = input() c = int(''.join(c)) if c % 4 == 0: print('Yes') else: print('NO')
s687045870
p03693
u934547177
1521781106
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
r, b, g = map(int, input().split()) print(['NO', 'YES'][(10*b+g)%4 == 0]
s944230042
p03693
u729707098
1521653991
Python
Python (3.4.3)
py
Runtime Error
17
3060
64
r,g,b = input() if int(g+b)%4==0: print("YES") else: print("NO")
s444860344
p03693
u192903163
1521509493
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
a = list(map(int, input().split())) x=a[0]*100+a[1]*10+a[2] if x%4=0: print("YES") else: print("NO")
s548438267
p03693
u194161252
1520985355
Python
Python (3.4.3)
py
Runtime Error
18
2940
77
import sys a = int(sys.argv[1]) an = a % 4 == 0 ? "YES" : "NO" print(an)
s664007741
p03693
u562016607
1519888300
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
r,g,b = map(int, input().split()) if (g*2+b)%4 == 0: print(“YES”) else: print(“NO”)
s601876016
p03693
u978494963
1517692674
Python
Python (3.4.3)
py
Runtime Error
20
3316
67
if int(input().strip(" "))%4==0: print("YES") else: print("NO")
s438012053
p03693
u825528847
1510246718
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
print("NO " if map(int, "".join(input().split())) % 4 else "YES")
s198066301
p03693
u018679195
1505833307
Python
Python (2.7.6)
py
Runtime Error
11
2572
129
number=int(input()); if number<1000&&number>110&&number%4==0&&number%100!=0&&number%10!=0: print("YES") else: print("NO")
s572401176
p03693
u449998745
1504507161
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
n=input() a=list(map(int,input().split())) a.sort() print(a[-1]-a[0])
s481953614
p03693
u057586044
1501192928
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
a = int(input().rstrip()) b = [ int(i) for i in input().split() ] print(max(b)-min(b))
s064268883
p03693
u330845528
1501108401
Python
Python (3.4.3)
py
Runtime Error
16
2940
90
n = input() m = [ int(x) for x in input().split() ] i = max(m) j = min(m) print( i - j )
s440444078
p03693
u330845528
1501107487
Python
Python (3.4.3)
py
Runtime Error
17
2940
157
cs = [ int(x) for x in input().split() ] n = cs[0] * 100 + cs[1] * 10 + cs[2] if n % 4 == 0 : print("YES") else : print("NO")
s648648417
p03693
u591287669
1500590914
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
if (a*100+b*10+c)%4==0: print('YES') else: print('NO')
s102882258
p03693
u853586331
1499973527
Python
Python (3.4.3)
py
Runtime Error
17
3064
379
N=int(input()) a=[int(i) for i in input().split()] b,c,d,e,f,g,h,j,k=0,0,0,0,0,0,0,0,0 for i in range(N): if (a[i]<400): b=1 elif (a[i]<800): c=1 elif ([i]<1200): d=1 elif (a[i]<1600): e=1 elif (a[i]<2000): f=1 elif ([i]<2400): g=1 elif (a[i]<2800): h=1 elif (a[i]<3200): j=1 else: k += 1 min=...
s776672850
p03693
u853586331
1499973344
Python
Python (3.4.3)
py
Runtime Error
17
3064
422
N=int(input()) a=[int(i) for i in input().split()] b,c,d,e,f,g,h,j,k=0,0,0,0,0,0,0,0,0 for i in range(N): if (a[i]<400): b=1 elif (400<=a[i]<800): c=1 elif (800<=a[i]<1200): d=1 elif (1200<=a[i]<1600): e=1 elif (1600<=a[i]<2000): f=1 elif (2000<=a[i]<2400): g=1 elif (2400<=a[i]<2800): h=1 elif (28...
s227758846
p03693
u886545507
1499804563
Python
Python (2.7.6)
py
Runtime Error
10
2696
467
n=int(raw_input()) a=map(int,raw_input().split()) #color=[hai,cha,midori,mizu,ao,ki,daidai,aka] c=[0 for i in xrange(8)] ext=0 for x in a: if 1<=x<=399: c[0]+=1 elif 400<=x<=799: c[1]+=1 elif 800<=x<=1199: c[2]+=1 elif 1200<=x<=1599: c[3]+=1 elif 1600<=x<=1999: c[4]+=1 elif 2000<=x<=2399: c[5]+=1 eli...
s191425231
p03693
u653807637
1499583687
Python
Python (3.4.3)
py
Runtime Error
17
3060
322
# encoding:utf-8 def main(): N = int(input()) scores = list(map(int, input().split())) ranges_colored = set([x // 400 for x in scores if x <= 3199]) n_colored = len(ranges_colored) n_free = len([x for x in scores if x > 3200]) print(max(n_colored, 1), min(n_free + n_colored, 8)) if __name__ == '__main__': main...
s017702716
p03693
u410717334
1499234378
Python
Python (3.4.3)
py
Runtime Error
146
12524
1210
import numpy as np N=int(input()) a=list(map(int,input().split())) a=sorted(a) f=np.zeros(8) ca=0 ci=0 for item in a: if(item<400): if(not f[0]): f[0]=1 ca+=1 ci+=1 continue elif(item<800): if(not f[1]): f[1]=1 ca+=1 ...
s103570506
p03693
u846372029
1498772260
Python
Python (3.4.3)
py
Runtime Error
17
2940
284
#Colorful Leaderboard import numpy as np n = int(input()) a = np.array(list(map(int, input().split()))) b = sorted (a//400) cnt = 0 for i in range(len(b)):s if b[i] < 8: None else: b[i]+=i cnt+=1 c = len(list(set(b))) print(str(c-cnt) + " " + str(c))
s427276222
p03693
u846372029
1498770381
Python
Python (3.4.3)
py
Runtime Error
153
12532
120
#Traveling AtCoDeer Problem import numpy as np n = int(input()) a = list(map(int, input().split())) print(max(a)-min(a))
s172374528
p03693
u184031112
1498615646
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
l = map(int, raw_input().split()) if (l[0]*100+l[1]*10+l[2]) % 4 == 0: print("YES") else: print("NO")
s422353045
p03693
u184031112
1498610204
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
r = int(input()) g = int(input()) b = int(input()) if (r*100+g*10+b) % 4 == 0: print("YES") else: print("NO")
s822619787
p03693
u184031112
1498610175
Python
Python (2.7.6)
py
Runtime Error
11
2568
118
r = int(input()) g = int(input()) b = int(input()) if (r*100+g*10+b) % 4 == 0: print("YES") else: print("NO")
s117061142
p03693
u817328209
1498425122
Python
Python (3.4.3)
py
Runtime Error
285
20520
309
# -*- coding: utf-8 -*- import numpy as np N = int(input()) a = list(map(int, input().split())) r = np.array(a)//400 s = set(r) if 8 in s and len(s)==1 : min = 1 max = len(a) elif 8 not in s: min = len(s) max = len(s) else : min = len(s) - 1 max = min + len(r[r==8]) print(min, max)
s814674274
p03693
u185325486
1498362423
Python
Python (2.7.6)
py
Runtime Error
11
2696
549
N = int(raw_input()) a = raw_input() b = a.split() c = [0 for i in range(9)] for i in range(N): b[i] = int(b[i]) if 1 <= b[i] <=399: c[0] = 1 elif 400 <= b[i] <= 799: c[1] = 1 elif 800 <= b[i] <=1199: c[2] = 1 elif 1200<= b[i] <= 1599: c[3] = 1 elif 1600 <= b[i] <= 1999: c[4] = 1 elif 2000 <= b[i] <= ...
s936981978
p03693
u185325486
1498359495
Python
Python (2.7.6)
py
Runtime Error
10
2696
522
N = int(raw_input()) a = raw_input() b = a.split() c = [0 for i in range(9)] for i in range(N): b[i] = int(b[i]) if 1 <= b[i] <=399: c[0] = 1 elif 400 <= b[i] <= 799: c[1] = 1 elif 800 <= b[i] <=1199: c[2] = 1 elif 1200<= b[i] <= 1599: c[3] = 1 elif 1600 <= b[i] <= 1999: c[4] = 1 elif 2000 <= b[i] <= ...
s706429948
p03693
u781758937
1498348120
Python
Python (3.4.3)
py
Runtime Error
17
2940
200
N = int(input()) S = input() pair_cnt = S.count("()") head_cnt = S.count("(") - pair_cnt tail_cnt = S.count(")") - pair_cnt res = S res = tail_cnt * "(" + res res = res + head_cnt * ")" print(res)
s236076740
p03693
u458486313
1498258473
Python
Python (3.4.3)
py
Runtime Error
17
3064
390
import sys stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) ns = lambda: stdin.readline() n = ni() a = na() f = [0]*8 sp = 0 for v in a: if v >= 3200: sp += 1 else: f[v//400] = 1 print(sum(f)) if sum(f) > 0: print("{} {}".format(sum(f), su...
s082681599
p03693
u786082266
1498239334
Python
Python (2.7.6)
py
Runtime Error
11
2568
96
a, b, c = map(int, raw_input().spilt()) if (b * 10 + c) % 4 == 0: print "YES" else: print "NO"
s432769254
p03693
u185034753
1498230174
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
_ = input() a = [int(s) for s in input().split()] print(max(a)-min(a))
s839873806
p03693
u404062634
1498068513
Python
Python (3.4.3)
py
Runtime Error
17
3064
929
#入力 N = int(input()) a_list = [] a_list = list(map(int,input().split())) #変数を用意 g_list = [0]*9 #グループ1の要素があるか確認 for i in range(N): if 1 <= a_list[i] <= 399: g_list[0] = 1 break #グループ2から8の要素があるか確認 for j in range(1,8): for k in range(N): if 400*j <= a_list[k] <= (400*(j+1)-1): ...
s125921189
p03693
u185325486
1498031989
Python
Python (2.7.6)
py
Runtime Error
10
2568
154
r = int(raw_input('red:')) g = int(raw_input('green:')) b = int(raw_input('blue:')) sum = r*100 + g*10 + b if sum%4 == 0: print "YES" else: print "NO"
s878622627
p03693
u645409094
1498026149
Python
Python (3.4.3)
py
Runtime Error
147
12488
575
import numpy as np n=input() n=int(n) a=input().split() b=np.zeros(n) div=0 num_8=0 for i in range(n): a[i]=int(a[i]) if a[i]<=399 and a[i]>=1: b[i]=0 elif a[i]>=400 and a[i]<=799: b[i]=1 elif a[i]>=800 and a[i]<=1199: b[i]=2 elif a[i]>=1200 and a[i]<=1599: b[i]=3 elif a[i]>=1600 and a[i]<=1999: b[i]=4 ...
s187406076
p03693
u645409094
1498025779
Python
Python (3.4.3)
py
Runtime Error
148
12488
575
import numpy as np n=input() n=int(n) a=input().split() b=np.zeros(n) div=0 num_8=0 for i in range(n): a[i]=int(a[i]) if a[i]<=399 and a[i]>=1: b[i]=0 elif a[i]>=400 and a[i]<=799: b[i]=1 elif a[i]>=800 and a[i]<=1199: b[i]=2 elif a[i]>=1200 and a[i]<=1599: b[i]=3 elif a[i]>=1600 and a[i]<=1999: b[i]=4 ...
s674242131
p03693
u655464713
1498006022
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
l = map(int, raw_input().split()) r = l[0]*100 g = l[1]*10 b = l[2] if(r + g + b) % 4 == 0: print "YES" else: print "NO"
s387888835
p03693
u655464713
1498005213
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
r = input(int)*100 g = input(int)*10 b = input(int) if(r + g + b) % 4 == 0: print "YES" else: print "NO"
s264793350
p03693
u655464713
1498004354
Python
Python (3.4.3)
py
Runtime Error
17
2940
189
# -*- coding: utf-8 -*- import random r = 100*random.randint(1,9) g = 10*random.randint(1,9) b = random.randint(1,9) print r+g+b if(r + g + b) % 4 == 0: print "YES" else: print "NO"
s816978277
p03693
u563824531
1497973000
Python
Python (3.4.3)
py
Runtime Error
17
3060
372
n = input() s = input() count = 0 countl = 0 for c in s: if c=='(': count += 1 else: count -= 1 if count < 0: countl += 1 count = 0 count = 0 countr = 0 for c in s[::-1]: if c=='(': count -= 1 else: count += 1 if count < 0: countr += 1 ...
s616369780
p03693
u812803774
1497843244
Python
Python (3.4.3)
py
Runtime Error
17
3064
1114
number = int(input()) rate = [int(i) for i in input().split()] # In[7]: counter = {} for r in rate: if 1 <= r < 400: counter["grey"] = counter.get("grey", 0) + 1 if 400 <= r < 800: counter["brown"] = counter.get("brown", 0) + 1 if 800 <= r < 1200: counter["green"] = counter.get("g...