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
s245893313
p03469
u993138647
1583777620
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
#85A already2018 s=input() s=s[:2]+"7"s[4:] print(s)
s056605512
p03469
u393881437
1583774053
Python
Python (3.4.3)
py
Runtime Error
18
3060
264
n, y = map(int, input().split()) YH = -1 IH = -1 HN = -1 for a in range(n): for b in range(n-a): c = n-a-b total = 10000*a + 5000*b + 1000*c if total == y: YH = a IH = b HN = c print(YH, IH, HN)
s814930881
p03469
u217547685
1583712700
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38384
137
nums = [int(input()) for _ in range(int(input()))] nums_dict = dict() for i in nums: nums_dict[i] = True print(len(nums_dict.keys()))
s195667386
p03469
u993138647
1583706140
Python
Python (3.4.3)
py
Runtime Error
18
2940
37
#already2018 s=input() s[3]=7 print()
s843450036
p03469
u922172470
1583704711
Python
Python (3.4.3)
py
Runtime Error
17
3064
384
def resolve(): N, Y = map(int, input().split()) resx, resy, resz = (-1, -1, -1) n = min(N, Y//10000) for x in range(n+1): for y in range(n+1-x): z = N - x - y total = 10000*x + 5000*y + 1000*z if total == Y: resx, resy, resz = (x, y, z) ...
s038479967
p03469
u886690199
1583700709
Python
Python (3.4.3)
py
Runtime Error
17
3064
376
a, b = map(int, input().split()) count = 0 select = [] for i in range(a+1): for j in range(a+1 - i): s = 10000*i + 5000*j + 1000*(a-i-j) if s == b: select.append(i) select.append(j) select.append(a-i-j) count += 1 break else: continue break if count == 0: prin...
s441091460
p03469
u886690199
1583700553
Python
Python (3.4.3)
py
Runtime Error
17
3064
366
a, b = map(int, input().split()) count = 0 select = [] for i in range(a+1): for j in range(a+1): c = a - (i+j) if (10000*i + 5000*j + 1000*c) == b: select.append(i) select.append(j) select.append(a-i-j) count += 1 else: continue break if count == 0: print(-1,-1,-1...
s117997730
p03469
u886690199
1583700409
Python
Python (3.4.3)
py
Runtime Error
17
3064
353
a, b = map(int, input().split()) count = 0 select = [] for i in range(a+1): for j in range(a+1): c = a - (i+j) if 10000*i + 5000*j + 1000*(a -i- j) == b: select.append(i) select.append(j) select.append(a-i-j) else: continue break if count == 0: print(-1,-1,-1) else: pri...
s822649000
p03469
u886690199
1583700164
Python
Python (3.4.3)
py
Runtime Error
17
3064
275
a, b = map(int, input().split()) count = 0 for i in range(a+1): for j in range(a+1): c = a - (i+j) s = (10000*i + 5000*j + 1000*c) if b == s: count+=1 break else: continue break if count == 0: print(-1,-1,-1) else: print(i,j,c)
s397298412
p03469
u886690199
1583699877
Python
Python (3.4.3)
py
Runtime Error
17
3060
288
a, b = map(int, input().split()) count = 0 for i in range(a+1): for j in range(a+1): c = a - (i+j) s = (10000*i + 5000*j + 1000*c) if b == s: count+=1 print(i,j,c) break else: continue break if count == 0: print(-1,-1,-1) else: pass
s911473231
p03469
u886690199
1583699646
Python
Python (3.4.3)
py
Runtime Error
17
3064
305
a, b = map(int, input().split()) b = b/10000 m = 1 five = 0.5 t = 0.1 count = 0 for i in range(a+1): for j in range(a+1): c = a - (i+j) s = (m*i + five*j + t*c) if b == s: count+=1 print(i,j,c) break else: continue break if count == 0: print(-1,-1,-1)
s806161835
p03469
u857330600
1583693863
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
s=str(input()) s[3]='8' print(s)
s588832924
p03469
u015593272
1582814768
Python
Python (3.4.3)
py
Runtime Error
18
3064
53
s_17 = input() # print(s_17) s_17[3] = 8 print(*s_17)
s457642384
p03469
u744034042
1582762482
Python
Python (3.4.3)
py
Runtime Error
19
3060
40
print("input().replace("2017", "2018")")
s735241801
p03469
u744034042
1582762345
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
print("input().replace("2017", "2018")")
s252656284
p03469
u762540523
1582742098
Python
Python (3.4.3)
py
Runtime Error
17
3064
341
from bisect import bisect_left def main(): n,h=map(int,input().split()) a=[None]*n b=a[:] ans=0 for i in range(n): a[i],b[i]=map(int,input().split()) m=max(a) b=sorted(b,reverse=True) x=bisect_left(b,m) for i in b[:n]: h-=i ans+=1 if h<=0: print(ans) return ans+=(h+m-1)//...
s857360605
p03469
u992910889
1582496352
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
S=input() S[3]=8 print(S)
s836110860
p03469
u305534505
1582408408
Python
Python (3.4.3)
py
Runtime Error
17
3060
389
def main(): n, y = map(int, input().split()) ans = '-1 -1 -1' if (10000*n < y): print(ans) return for i in range(n+1): for j in range(n-i+1): k = n-i-j if (1000*i+5000*j+10000*k==y): ans = '{0} {1} {2}'.format(k,j,i) break ...
s389246399
p03469
u789565565
1582175243
Python
Python (3.4.3)
py
Runtime Error
17
3064
41
s= input() print(s.replace('2017','2018')
s356837913
p03469
u789565565
1582175147
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
s = input() m = s.replace(2017,2018) print(m)
s420871100
p03469
u709679133
1582003622
Python
Python (3.4.3)
py
Runtime Error
17
3060
197
N, Y = map(int, input().split()) for x in range(N+1): for y in range(N+1-x): if x*10000 + y*5000 + (N-x-y)*1000 == Y: print(x, y, N+1-x-y) exit() print(-1,-1,-1)
s328974549
p03469
u753955037
1581904420
Python
Python (3.4.3)
py
Runtime Error
17
3064
414
N_,Y_=input().split() N=(int)(N_) Y=(int)(Y_) count = 0 a_ = Y//10000 if a_>N: a_ = N for a in range(a_+1): Y_ = Y-a*10000 N_ = N-a b_ = Y_//5000 if b_>N_ and b_>=0: b_ = N_ for b in range(b_+1): Y_ = Y_-b*5000 N_ = N_-b c_ = Y_//1000 if c_==N_ and c_>=0:...
s249837716
p03469
u222801992
1581736804
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
s=input() s[3]=str(8) print(s)
s711995939
p03469
u222801992
1581736738
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
s=input() s[3]=8 print(s)
s584848557
p03469
u222801992
1581736635
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() s[3]="8" print(s)
s430080099
p03469
u337820403
1581658036
Python
Python (3.4.3)
py
Runtime Error
19
3060
348
n, y = map(int, input().split()) for i in range(n): for j in range(n): for k in range(n): a = i * 10000 b = j * 5000 c = k * 1000 num = i + j + k price = a + b + c if num == 9 and price == y: print(i, j, k) ...
s061866011
p03469
u752552310
1581550254
Python
Python (3.4.3)
py
Runtime Error
24
2940
40
S = list(input()) print(S[:3]+"8"+S[4:])
s230062490
p03469
u752552310
1581550124
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
S = input() S[3]="8" print(S)
s481225227
p03469
u752552310
1581549883
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
S = input() S[3]=str("8") print(S)
s055558752
p03469
u699522269
1581359903
Python
Python (3.4.3)
py
Runtime Error
17
3064
278
a,sums= list(map(int,input().split())) print(a) yuki = sums//10000 taishi = (sums%10000) //5000 noguchi = (sums%5000) //1000 while a<yuki+taishi+noguchi: if a-(yuki+taishi+noguchi)%4==0: taishi-=1 noguchi+=5 else: yuki-=1 taishi+=2 print(yuki,taishi,noguchi)
s876713610
p03469
u541610817
1581212373
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
str = input() str[3] = '8' print(str)
s555860675
p03469
u187960713
1580933639
Python
Python (3.4.3)
py
Runtime Error
17
2940
140
ymd = input() S = input() y,m,d = ymd.split() y = int(y) m = int(m) d = int(d) def Already(y,m,d): if [S] = 2018: return 2017
s694775484
p03469
u810066979
1580605617
Python
Python (3.4.3)
py
Runtime Error
17
2940
205
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] a = sc.next().toCharArray(); a[3]='8'; System.out.print(a); } }
s520071456
p03469
u811169796
1580443923
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
s = input() s[3] = '8' print(s)
s312979576
p03469
u811169796
1580443882
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
s = input() s[3] = 8 print(s)
s139046145
p03469
u813174766
1580271947
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() s[3]="8" print(s)
s823288494
p03469
u642405274
1580062568
Python
Python (3.4.3)
py
Runtime Error
177
13204
669
import sys import numpy as np N, Y = list(map(int, input().split())) ans_x, ans_y, ans_z = -1, -1, -1 #n_list = np.append([0], range(N+1)) #n_list = np.append(n_list, [N]) #print(n_list) #print(len(n_list)) #print(range(len(n_list))) #print(range(10 ,len(n_list))) for i in range(N+1) : x = i #sum = 10000*x #...
s061213643
p03469
u642405274
1580061869
Python
Python (3.4.3)
py
Runtime Error
149
12500
705
import sys import numpy as np N, Y = list(map(int, input().split())) ans_x, ans_y, ans_z = -1, -1, -1 n_list = np.append([0], range(N+1)) n_list = np.append(n_list, [N]) #print(n_list) #print(len(n_list)) #print(range(len(n_list))) #print(range(10 ,len(n_list))) for i in range(len(n_list)) : x = n_list[i] sum ...
s733322208
p03469
u702786238
1579641957
Python
Python (3.4.3)
py
Runtime Error
18
2940
37
s = input() s[0:3] = "2018" print(s)
s292767494
p03469
u557494880
1579586687
Python
Python (3.4.3)
py
Runtime Error
20
3060
31
S = input() S[3] = '8' print(S)
s324987648
p03469
u296101474
1579412489
Python
Python (3.4.3)
py
Runtime Error
17
3060
319
n, y = map(int, input().split()) noguchi = 1000 higuchi = 5000 yukichi = 10000 ans = '-1 -1 -1' for i in range(n+1): for j in range(n+1-i): k = n - (i+j) yen = noguchi * i + higuchi * j + yukichi * k if yen == y: ans = '{0} {1} {2}'.format(k,j,i) break print(ans)
s729669774
p03469
u606043821
1579146326
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
S = input() L = S.split("/") L[0] = "2018" print(L[0]+"/"L[1]+"/"L[2])
s464289915
p03469
u606043821
1579146246
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
S = input() L = S.split(/) L[0] = "2018" print(L[0]+L[1]+L[2])
s454046390
p03469
u072717685
1578867205
Python
Python (3.4.3)
py
Runtime Error
18
2940
31
S = input() s[3] = '8' print(s)
s748703401
p03469
u634938101
1578863898
Python
Python (3.4.3)
py
Runtime Error
16
2940
27
s=input() s[3]='8' print(s)
s491904395
p03469
u334792253
1578800936
Python
Python (3.4.3)
py
Runtime Error
20
3064
816
number,money=input().rstrip().split() number=int(number) money=int(money) bill=[0,0,0] for i in range(number+1): bill=[0,0,0] mass=money-10000*i bill[0]=i if mass==0 and sum(bill)==number: break elif mass<0: break else: for j in range(number+1): if j!=0: ...
s267242631
p03469
u741279737
1578714687
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
262
i = list(map(int, input().split())) a = i[1]%i[0] x = i[1] // 10000 y = i[1]%10000 // 5000 z = ((i[1]%10000)%5000) //1000 if a == 0 and (x+y+z) <= i[0]: print(x,',',y,',',z) elif (x+y+z) > i[0]: print('-1 -1 -1') elif a != 1: print('-1 -1 -1')
s378622359
p03469
u747220349
1578701195
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38384
326
N, H = map(int, input().split()) a = [0] * N b = [0] * N for i in range(N): a[i], b[i] = map(int, input().split()) A = int(max(a)) B = [i for i in b if i > A] B.sort(reverse=True) Sum = 0 for i in range(len(B)): H -= B[i] Sum += 1 if H <= 0: break if H > 0: Sum += int((H-1)//A)+1 prin...
s759189362
p03469
u747220349
1578700681
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38384
306
n,h=map(int,input().split()) a=[0]*n b=[0]*n for i in range(n): a[i],b[i]=map(int,input().split()) x=max((a)) y=[i for i in b if i>x] y.sort(reverse=True) count=0 for i in range(len(y)): if h>0: count+=1 h-=y[i] else: break if h>0: count +=int(h//x)+1 print(count)
s044704480
p03469
u747220349
1578696216
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
70
s=[map(str,input().split())] s[3]=str(int(s[3])+1) print("".join(s))
s415492605
p03469
u058592821
1578596209
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
s = list(input()) if s[3] == '7': ans = s[:3] + '8' + s[4:] else: ans = s print(ans)
s070535323
p03469
u058592821
1578596174
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
s = list(input()) if s[3] == '7': s = s[:3] + '8' + s[4:] print(s)
s200124663
p03469
u058592821
1578595878
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
s = input() if s[3] == '7': s[3] = '8' print(s)
s324685206
p03469
u703130195
1578556088
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
import sys input = sys.stdin.readline S = input().strip() S[3] = "8" print(S)
s656133598
p03469
u006167882
1578519590
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
s = input() if s[:4] != "2018": s[:4] = "2018" print(s)
s141719648
p03469
u145415974
1578501547
Python
Python (3.4.3)
py
Runtime Error
17
2940
217
N,Y = (int(x) for x in input().split()) ans = [-1,-1,-1] for a in range(N+1): for b in range(N+1-a): c=N-a-b if Y==10000*a+5000*b+1000*c: ans = [a,b,c] exit() print(*ans)
s229114018
p03469
u311003976
1578454124
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38512
33
s = input() s[3] = '7' print(s)
s015926066
p03469
u145415974
1578440516
Python
Python (3.4.3)
py
Runtime Error
17
2940
251
N,Y = (int(x) for x in input().split()) ans = [-1,-1,-1] for a in range(N+1): for b in range(N+1-a): if a+b<=N: c=N-a-b if Y==10000*a+5000*b+1000*c: ans = [a,b,c] break print(*ans)
s454398093
p03469
u145415974
1578440384
Python
Python (3.4.3)
py
Runtime Error
17
3056
216
N,Y = (int(x) for x in input().split()) ans = [-1,-1,-1] for a in range(N+1): for b in range(N+1-a): c=N-a-b if Y==10000*a+5000*b+1000*c: ans = [a,b,c] break print(*ans)
s687808216
p03469
u145415974
1578439968
Python
Python (3.4.3)
py
Runtime Error
17
3056
240
N,Y = (int(x) for x in input().split()) for a in range(N+1): for b in range(N+1): c=N-a-b if Y==10000*a+5000*b+1000*c: ans = [a,b,c] break else: ans = [-1,-1,-1] print(*ans)
s261072142
p03469
u120564432
1578372124
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() s[3]='8' print(s)
s349348937
p03469
u962127640
1578371554
Python
Python (3.4.3)
py
Runtime Error
17
3060
272
import sys N, Y = list(map(int , input().split())) for x in range(N+1): for y in range(N+1): z = N - x- y if z >=0: if 10000*x+5000*y+1000*z ==Y: print('{} {} {}'.format(x,y,z)) sys.exit() print('-1 -1 -1')
s857978734
p03469
u580404776
1578362603
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
217
N,Y=map(int,input().split()) a=-1 b=-1 c=-1 for i in range(0,N+1): for j in range(0,N-i+1): if 10000*i+5000*j+1000*(N-i-j) == Y: a=i b=j c=N-i-j print(a,b,c)
s058588828
p03469
u863044225
1578327288
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() s[3]='8' print(s)
s563829950
p03469
u228223940
1578182058
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
s = input() t = '2018' for i in range(len(s)) if i > 3: print(s[i],sep='',end='') else: print(t[i],sep='',end='')
s032443660
p03469
u228223940
1578181972
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
s = input() t = '2018' for i in range(len(s)) if i > 4: print(s[i],sep='',end='') else: print(t[i],sep='',end='')
s777980989
p03469
u652569315
1578030292
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
s=input() s[3]='8' print(s)
s534490693
p03469
u466335531
1577470944
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
n=int(input()) print(len(set([input() for _ in range(n)])))
s723359381
p03469
u648679668
1577406111
Python
Python (3.4.3)
py
Runtime Error
17
3060
213
n = int(input()) d = [] for i in range(n): d.append(int(input())) d_2 = sorted(d, reverse=True) ans = 1 for i in range(1, n): if d_2[i] < d_2[i-1]: ans += 1 else: continue print(ans)
s924113606
p03469
u905582793
1577138673
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
print(input().replace("2017","2018))
s078495193
p03469
u506587641
1576901173
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
s = str(input()) print('2018/01' + s[-2] + a[-1])
s251796207
p03469
u506587641
1576901140
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
s = input() print('2018/01' + s[-2] + a[-1])
s391260516
p03469
u506587641
1576900790
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
a, b, c = map(int, input().split(/)) if a == 2017: print('{}/{}/{}'.format(2018, b, c))
s736055142
p03469
u627283301
1576732667
Python
Python (3.4.3)
py
Runtime Error
17
3060
218
import sys N,Y=map(int,input().split()) count=0 for x in range(N+1): for y in range(N+1): z=N-x-y total=10000*x+5000*y+1000*z if total == Y: print(x,y,z) sys.exit() print("-1 -1 -1")
s277256159
p03469
u498975813
1576718804
Python
Python (3.4.3)
py
Runtime Error
17
3064
332
n,y=map(int,input().split()) anslist=[] for i in range(n+1): for j in range(n-i+1): if i*10000+j*5000+(n-i-j)*1000 == y : list=[i,j,n-i-j] anslist.append(list) if len(anslist)>0: print("{} {} {}".format(anslist[0][0],anslist[0][1],anslist[0][2],)) else: print("{} {} {}".forma...
s698425599
p03469
u498975813
1576718737
Python
Python (3.4.3)
py
Runtime Error
17
3064
332
n,y=map(int,input().split()) anslist=[] for i in range(n+1): for j in range(n-i+1): if i*10000+j*5000+(n-i-j)*1000 == y : list=[i,j,n-i-j] anslist.append(list) if len(anslist)>0: print("{} {} {}".format(anslist[0][0],anslist[0][1],anslist[0][2],)) else: print("{} {} {}".forma...
s765560134
p03469
u498975813
1576718683
Python
Python (3.4.3)
py
Runtime Error
17
3064
344
n,y=map(int,input().split()) anslist=[] for i in range(n+1): for j in range(n-i+1): if i*10000+j*5000+(n-i-j)*1000 == y : list=[i,j,n-i-j] anslist.append(list) if len(anslist)>0: print("{} {} {}".format(anslist[0][0],anslist[0][1],anslist[0][2],)) else: print("{} ...
s037862057
p03469
u498975813
1576718626
Python
Python (3.4.3)
py
Runtime Error
17
3064
340
n,y=map(int,input().split()) anslist=[] for i in range(n+1): for j in range(n-i+1): if i*10000+j*5000+(n-i-j)*1000 == y : list=[i,j,k] anslist.append(list) if len(anslist)>0: print("{} {} {}".format(anslist[0][0],anslist[0][1],anslist[0][2],)) else: print("{} {} {...
s428628979
p03469
u311669106
1576519806
Python
Python (3.4.3)
py
Runtime Error
18
3060
36
s=input() s[2].replace("8") print(s)
s835697161
p03469
u972892985
1576448611
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
s = input() print(s.replace("2017,"2018"))
s676228578
p03469
u673173160
1576433842
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38640
31
s = input() s[3] = '8' print(s)
s046580071
p03469
u071416928
1576175220
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
n = int(input()) a = [int(input()) for _ in range(n)] print(len(list(set(a))))
s241748172
p03469
u226912938
1576092858
Python
Python (3.4.3)
py
Runtime Error
17
3064
329
n, h = map(int, input().split()) A, B = [], [] for _ in range(n): a, b = map(int, input().split()) A.append(a) B.append(b) throw_a = max(A) B = sorted(B, reverse=True) count = 0 while h > 0: count += 1 if throw_a > max(B): h -= a else: h -= max(B) B.remove(max(B)) pri...
s318245472
p03469
u288786530
1575975659
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
bun = input() str_bun = list(bun) str_bun[0,1,2,3,] = "2","0","1","8" str_changed = "".join(str_bun) print(str_bun)
s380335764
p03469
u279493135
1575767408
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
S = input() print(S.replace(2017, 2018))
s868027586
p03469
u114366889
1575597169
Python
Python (3.4.3)
py
Runtime Error
17
2940
226
from dateutil.relativedelta import relativedelta import datetime S = str(input()) date_format = datetime.datetime.strptime(S,'%Y/%m/%d') date_format = date_format+ relativedelta(years=1) print(date_format.strftime("%Y/%m/%d"))
s998798459
p03469
u934052933
1575577112
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
S = input() S[:4] = "2018" print(S)
s772203534
p03469
u616188005
1575391638
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
s = input() s[4:5]='8' print(s)
s771679305
p03469
u716530146
1575312813
Python
Python (3.4.3)
py
Runtime Error
17
2940
28
s=input() print("2018"+s[4:]
s107764021
p03469
u774160580
1574984768
Python
Python (3.4.3)
py
Runtime Error
17
2940
341
import sys N, Y = list(map(int, input().split())) for i_yukichi in range(N + 1): for j_higuchi in range(N + 1 - i_yukichi): k_noguchi = N - i_yukichi - j_higuchi if 10000 * i_yukichi + 5000 * j_higuchi + 1000 * k_noguchi == Y: print(i_yukichi, j_higuchi, k_noguchi) sys.exit(...
s927307897
p03469
u774160580
1574984721
Python
Python (3.4.3)
py
Runtime Error
17
2940
339
import sys N, Y = list(map(int, input().split())) for i_yukichi in range(N + 1): for j_higuchi in range(N + 1 - i_yukichi): k_noguchi = N - i_yukichi - j_higuchi if 10000 * i_yukichi + 5000 * j_higuchi + 1000 * k_noguchi == Y: print(i_yukichi, j_higuchi, k_noguchi) sys.exit ...
s548358961
p03469
u007018214
1574891261
Python
Python (3.4.3)
py
Runtime Error
20
3188
378
n,p = map(int,input().split()) res10000 = res5000 = res1000 = -1 x = y = 0 end = False for x in range(n): if end: break for y in range(n): if x*10000+y*5000+ (n-(x+y))*1000 == p: print(x,y) res10000 = x res5000 = y res1000 = n-(x+y) end...
s317427871
p03469
u609814378
1574627069
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
S = input() S2 = S.replace(7,8,1) print(S2)
s006552185
p03469
u506858457
1574611786
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
S=input() S[3]='7' print(S)
s135547409
p03469
u798731634
1574387769
Python
Python (3.4.3)
py
Runtime Error
17
2940
217
n, y = map(int, input().split()) z = y/1000 for i in range(1,n+1): for j in range(0, n+1-i): k = n - i- j if 10*i + 5*j + k == z: print('i, j, k') exit(0) print('-1 -1 -1')
s775444936
p03469
u187109555
1573878583
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
date = input() date[3] = "8" print(date)
s251161764
p03469
u470359972
1573167204
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
a=input() a[3]="8" print(a)
s809449311
p03469
u470359972
1573167184
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
a=input() a[3]=8 print(a)
s136958121
p03469
u122231433
1573074822
Python
Python (3.4.3)
py
Runtime Error
18
3060
204
N,Y=map(int,input().split()) for x in range(N+1): for y in range(N-x+1): z=N-x-y if 0<=z<=2000 and 10000*x+5000*y+1000*z==Y: print(x,y,z) exit() print(-1,-1,-1)
s787382399
p03469
u972475732
1573064089
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print(input()[0:3]+'8'+input()[4:])