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
s238878612
p03469
u289053627
1564864928
Python
Python (3.4.3)
py
Runtime Error
18
3064
381
(N, Y) = map(lambda x: int(x), input().split(' ')) Y /= 1000 limit = 10*N if limit < Y: print(-1, -1, -1) exit(0) elif Y == limit: print(N, 0, 0) exit(0) _N = limit-Y for i in range(0, int(_N/9)+1): yy = _N - 9*i if yy % 5 == 0: k = int(yy/5) if N-k-i > 0: ...
s057545365
p03469
u289053627
1564864787
Python
Python (3.4.3)
py
Runtime Error
20
3064
356
(N, Y) = map(lambda x: int(x), input().split(' ')) Y /= 1000 limit = 10*N if limit < Y: print(-1, -1, -1) elif Y == limit: print(N, 0, 0) _N = limit-Y for i in range(0, int(_N/9)+1): yy = _N - 9*i if yy % 5 == 0: k = int(yy/5) if N-k-i > 0: print(N-k-i, k, i) ...
s066242430
p03469
u549383771
1564858556
Python
Python (3.4.3)
py
Runtime Error
17
3060
331
yukichi_num = 0 ichiyou_num = 0 a,b = map(int,input().split()) while (b >= 10000) and (a > 0): b -=10000 yukichi_num += 1 a -= 1 while (b >= 5000) and(a > 0): b -= 5000 ichiyou_num += 1 a -= 1 if (b/1000) <= a: print('{0} {1} {2}'.format(yukichi_num,ichiyou_num,int(b/1000))) else: print(...
s332305870
p03469
u549383771
1564858504
Python
Python (3.4.3)
py
Runtime Error
17
3064
332
yukichi_num = 0 ichiyou_num = 0 a,b = map(int,input().split()) while (b >= 10000) and (a > 0): b -=10000 yukichi_num += 1 a -= 1 while (b >= 5000) and(a > 0): b -= 5000 ichiyou_num += 1 a -= 1 if (b//1000) <= a: print('{0} {1} {2}'.format(yukichi_num,ichiyou_num,int(b/1000))) else: print...
s283238447
p03469
u944460773
1564711563
Python
Python (3.4.3)
py
Runtime Error
17
3056
385
# coding:utf-8 n, y = [int(x) for x in input().split(' ')] sen = y//1000 target = sen - n if target < 0: print('-1 -1 -1') else: iti_man = target % 4 go_sen = target // 4 - iti_man * 2 sen = sen - iti_man * 10 - go_sen * 5 if sen > -1 and go_sen > -1 and iti_man > -1 : print('{} {} {}'.f...
s750320542
p03469
u347750049
1564709286
Python
Python (3.4.3)
py
Runtime Error
18
3060
393
n, y = [int(x) for x in input().split(' ')] q, mod = divmod(y, 10000) if n * 10000 > y: print('-1 -1 -1') else: if q == n and mod == 0: print('{} 0 0'.format(q)) else: for a in range(q+1): b = int((y - 1000 * n - 9000 * a) / 4000) c = int((5000 * n - y + 5000 * a) / 4000) if a + b + c == n and a >= ...
s019415786
p03469
u347750049
1564707549
Python
Python (3.4.3)
py
Runtime Error
17
3060
306
n, y = [int(x) for x in input().split(' ')] q, mod = divmod(y, 10000) if q == n and mod == 0: print(q, 0, 0) for a in range(q+1): b = int((y - 1000 * n - 9000 * a) / 4000) c = int((5000 * n - y + 5000 * a) / 4000) if a + b + c == n and a >= 0 and b >= 0 and c >= 0: print(a, b, c)
s245668879
p03469
u404678206
1564607301
Python
Python (3.4.3)
py
Runtime Error
18
3060
67
y,m,d=map(input().split("/")) print(str(y+1)+"/"+str(m)+"/"+str(d))
s113725767
p03469
u962942039
1564109461
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
s = input() s[3] = '8' print(s)
s767798189
p03469
u017064954
1563954490
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
s = input() s[:4] = "2018" print(s)
s624998654
p03469
u180058306
1563286813
Python
Python (3.4.3)
py
Runtime Error
17
3064
1012
# お札の枚数及び合計金額を入力 N, Y = map(int, input().split()) # それぞれのお札の枚数の初期値を設定 A = -1 # 10000円札 B = -1 # 5000円札 C = -1 # 1000円札 # お札の合計金額を計算する関数を定義 def amount(A, B, C): return A * 10000 + B * 5000 + C * 1000 # 10000円札を1枚ずつ増やす for a in range(0, N + 1): # 他が全て1000円札でもYを超えてしまう場合、繰り返し終了 if amount(a, 0, N - a) > Y: ...
s780711657
p03469
u281216592
1563268507
Python
Python (3.4.3)
py
Runtime Error
17
3064
30
S = input() S[3] = 8 print(S)
s535493491
p03469
u188244611
1563170596
Python
Python (3.4.3)
py
Runtime Error
17
3056
337
# ABC 85, C - otoshidama def answer(): n, y = map(int, input().split(' ')) for i in range(n+1): for j in range(0, n-i+1): total = 10000 * i + 5000 * j + 1000 * (n-i-j) if total == y: return '{} {} {}'.format(i, j, n-i-j) return '{} {} {}'.format(-1, -1, -1)...
s059300347
p03469
u265065462
1563084230
Python
Python (3.4.3)
py
Runtime Error
18
2940
104
s = input() ans = "" for i in range(len(s)): if (i == 3) ans += "8" else ans += s[i] print (ans)
s856166177
p03469
u829393411
1563065738
Python
Python (3.4.3)
py
Runtime Error
17
3064
374
n,y=map(int,input().split()) y=y/1000 count=0 for i in range(y/10): for j in range(int(y-10*i)): for k in range(int(y-10*i-5*j)): if i+5*j+10*k==y: print(str(k)+" "+str(j)+" "+str(i)) count=1 break if count==1: break if coun...
s970395669
p03469
u135847648
1562961577
Python
Python (3.4.3)
py
Runtime Error
17
3060
252
n,y = map(int,input().split()) ans_a = -1 ans_b = -1 ans_c = -1 for i in range(n+1): for j in range(n+1): x = y - 10000*i - 5000*j if x % 1000 == 0: k = x / 10000 ans_a = i ans_b = j ans_c = k print(ans_a,ans_b,ans_c)
s872082850
p03469
u135847648
1562961551
Python
Python (3.4.3)
py
Runtime Error
17
3060
255
n,y = map(int,input().split()) ans_a = -1 ans_b = -1 ans_c = -1 for i in range(n+1): for j in range(n+1-i): x = y - 10000*i - 5000*j if x % 10000 == 0: k = x / 10000 ans_a = i ans_b = j ans_c = k print(ans_a,ans_b,ans_c)
s990139897
p03469
u723590269
1562267062
Python
Python (3.4.3)
py
Runtime Error
17
3064
338
n,y = map(int,input().split()) y /= 1000 y10 = 0 y5 = 0 y1 = 0 i = 0 #i,j,k = 10000,5000,1000 while 1: y1 = i y5 = (10*n-y-9*y1)//5 y10 = n-y5-y1 if (10*n-y-9*y1)%5 == 0 and y10>=0 and y5>=0 and y1>=0: print(int(y10),int(y5),int(y1)) break i += 1 if i>n: print(-1,-1...
s123604628
p03469
u022832318
1561946405
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
s=input() s[3]=8 print(s)
s302800055
p03469
u827141374
1561928259
Python
Python (3.4.3)
py
Runtime Error
17
2940
27
S=input() S[3]='8' print(S)
s652936217
p03469
u009348313
1561852653
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
S = input() print(S.replace('2017/01/', '2018/01/')
s580454590
p03469
u453634575
1561706228
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
x = input() x[0],x[1],x[2],x[3] = "2","0","1","8" print(x)
s231486169
p03469
u396518935
1561666162
Python
Python (3.4.3)
py
Runtime Error
17
3064
324
N, Y = map(int, input().split()) ''' if Y/N > 10000 or Y%1000 != 0: print("-1 -1 -1") ''' flag = 0 for x in range(N+1): x = x if flag == 1: break for y in range(N-x+1): y = y z = N-x-y if x*10000+y*5000+z*1000 == Y: print(x,y,z) flag = 1 break if flag == 0: print('-1 -1 ...
s336398206
p03469
u089075077
1561571033
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
l = list(input()) print('2018'+l.[4:])
s569983079
p03469
u089075077
1561570864
Python
Python (3.4.3)
py
Runtime Error
18
2940
36
l = list(input()) print('2018',[4:])
s631883148
p03469
u079860059
1561338932
Python
Python (2.7.6)
py
Runtime Error
10
2568
71
S=str(input()) print(S[0:3],end='') print(8,end='') print(S[4:],end='')
s213864605
p03469
u837677955
1560769833
Python
Python (3.4.3)
py
Runtime Error
18
3064
421
result_lis = list( map(int,input().split()) ) N,T = result_lis def solve(n,total): sen = n * 1000 if total < sen: return [-1,-1,-1] sa = total - sen kyu = sa // 9000 for i in range(kyu+1): zan = total - (kyu*10000 + (n-kyu)*1000) if zan % 4000 == 0: ret...
s218202176
p03469
u456033454
1560618946
Python
Python (3.4.3)
py
Runtime Error
17
3064
31
s = input() s[3] = '7' print(s)
s264638491
p03469
u405256066
1560587535
Python
Python (3.4.3)
py
Runtime Error
17
3064
340
from sys import stdin N,Y = [int(x) for x in stdin.readline().rstrip().split()] flag = False for x in range(N+1): for y in range(N+1): z = N - x - y if Y == 10000 * x + 5000 * y + 1000 * z: flag = True break else: continue break if flag: print(x,y,z) else:...
s446202102
p03469
u371409687
1560544528
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
x=input() x[3]=8 print(x)
s533557166
p03469
u584529823
1560028494
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
S = input() S[0:4] = "2018" print(S)
s703189565
p03469
u570461262
1559529407
Python
Python (3.4.3)
py
Runtime Error
18
3064
384
n, h, *t=map(int,open(0).read().split()) a = t[::2] b = t[1::2] ma = max(a) b_high = [i for i in b if i > ma] if sum(b_high) > h: ans = 0 b_high = sorted(b_high) while h < 0: h = h - b_high.pop() ans += 1 print(ans) else: if (h - sum(b_high)) % ma == 0: print(len(b_high) + (h - sum(b_high)) // ma)...
s158903324
p03469
u816919571
1558535444
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
y,m,d = input().split("/") print("2018/"+m"/"+d if y == "2017" else y+"/"+m"/"+d)
s319101098
p03469
u791013618
1558534942
Python
Python (3.4.3)
py
Runtime Error
17
3064
328
import sys n, y = (int(i) for i in input().split()) for i_10000 in range(0, n + 1): for i_5000 in range(0, n + 1): i_1000 = n - i_10000 - i_5000 if (i_10000 * 10000 + i_5000 * 5000 + i_1000 * 1000 == y) and i_10000 + i_5000 + i_1000 == n: print(i_10000, i_5000, i_1000) sys.exit() print(-1,...
s773359661
p03469
u791013618
1558534906
Python
Python (3.4.3)
py
Runtime Error
17
3060
331
import sys n, y = (int(i) for i in input().split()) for i_10000 in range(0, n + 1): for i_5000 in range(0, n + 1): i_1000 = n - i_10000 - i_5000 if (i_10000 * 10000 + i_5000 * 5000 + i_1000 * 1000 == y) and i_10000 + i_5000 + i_1000 == n: print(i_10000, i_5000, i_1000) sys.exit() print(-1,...
s055673802
p03469
u788137651
1558145460
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
210
N, Y = map(int, input().split()) for i in range(N+1): for j in range(N+1): if (N - i - j) * 10000 + i * 5000 + j * 1000 == Y: print(N - i - j, i, j) exit() print(-1, -1, -1)
s558002928
p03469
u733774002
1558065846
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
S = input() S[3] = "8" print(S)
s990513500
p03469
u733774002
1558065793
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
S = input() S[3] = 8 print(S)
s631811442
p03469
u089668660
1558048584
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
#include<stdio.h> #include <string> int main(){ char *s; scanf("%s",s); s[0] = '2'; s[1] = '0'; s[2] = '1'; s[3] = '8'; printf("%s" ,s); return 0; }
s868395522
p03469
u978210902
1557968456
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38256
31
s = input() s[3] = '7' print(s)
s937664321
p03469
u360258922
1557951274
Python
Python (3.4.3)
py
Runtime Error
17
3064
428
n, y = map(int, input().split(' ')) s_n = [0, 0, 0] s_l = [10000, 5000, 1000] error = '-1 -1 -1' for i, s in enumerate(s_l): if n > -1: s_n[i] = int(y/s) n = n - s_n[i] y = y - s * s_n[i] else: ans = error if n > -1: if list(set(s_n)) == [0]: ans = error elif y...
s105926675
p03469
u796789068
1557892716
Python
Python (3.4.3)
py
Runtime Error
17
3060
466
N,Y=map(int,input().split()) for i in range(N+1): for j in range(N-i+1): #print(10000*i+5000*j+1000*(N-i-j) if 10000*i+5000*j+1000*(N-(i+j))==Y: a=i b=j c=N-(i+j) #print(str(i)+" "+str(j)+" "+str(N-(i+j))) break else: ...
s884455692
p03469
u796789068
1557890925
Python
Python (3.4.3)
py
Runtime Error
17
3060
375
N,Y=map(int,input().split()) for i in range(N+1): for j in range(N-i+1): if 10000*i+5000*j+1000*(N-(i+j))==Y: #print(str(i)+" "+str(j)+" "+str(N-(i+j))) break else: i=-1 j=-1 #print(str(-1)+" "+str(-1)+" "+str(-1)) ...
s383351944
p03469
u221345507
1557609091
Python
Python (3.4.3)
py
Runtime Error
17
2940
226
import sys N, Y = map(int,input().split()) for i in range (N+1): for j in range (N+1): if 1000*i + 5000*j + 10000*(N-i-j) == Y: print('%d %d %d'%(i,j,(N-i-j))) sys.exit() print('-1 -1 -1')
s857621070
p03469
u233437481
1557525862
Python
Python (3.4.3)
py
Runtime Error
18
2940
363
h = [int(s) for s in input().split()] N = h[0] Y = h[1] def otoshidama(a,b): ok_flag = 0 money = 0 for i in range(N+1): for j in range(N+1-i): money = 10000*i + 5000*j + 1000*(N-i-j) if money == Y: print(i,j,N-i-j) ok_flag = 1 return money = 0 if ok_flag =...
s381874136
p03469
u070187104
1557525144
Python
Python (3.4.3)
py
Runtime Error
17
3060
335
from sys import stdin def calc(N, Y): for i in range(N+1): for j in range(N+1-i): if 10000*i + 5000*j + 1000*(N-i-j) == Y: return '%s %s %s' % (i, j, (N-i-j)) return '-1 -1 -1' if __name__ == '__main__': N, Y = [int(x) for x in stdin.readline().rstrip().split()] pri...
s104851755
p03469
u310549140
1557516380
Python
Python (3.4.3)
py
Runtime Error
17
3060
185
N,Y = map(int,input().split()) for x in range(N+1): for y in range(N-x+1): if 10000*x+5000*y+1000*(N-x-y)==Y: print(x,y,N-x-y) exit() print(-1,-1,-1)
s780031777
p03469
u235905557
1557491870
Python
Python (3.4.3)
py
Runtime Error
19
3060
284
import sys N, Y = map(int, input().split()) for a in range(N+1): for b in range(N+1): c = N - a - b if c < 0: continue if (10000*a + 5000*b + 1000*c) == Y: print(str(a)+" "+str(b)+" "+str(c)) sys.exit() print("-1 -1 -1")
s235586056
p03469
u108377418
1557454683
Python
Python (3.4.3)
py
Runtime Error
17
3060
372
def main(): n = int(input()) d = [] for i in range(0, n): d.append(int(input())) backet = {} for i in range(0, 101): backet[i] = 0 for i in range(0, n): backet[d[i]] += 1 count = 0 for i in range(0, 101): if backet[i] > 0: count += 1 p...
s993380999
p03469
u635182517
1557328059
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
s=input() s[3]=8 print(s)
s132157123
p03469
u617449195
1557087821
Python
Python (3.4.3)
py
Runtime Error
17
3060
346
N, Y = map(int,input().split()) res10000 = -1; res5000 = -1; res1000 = -1 for a in range(N): for b in range(N-a): c = N - (a + b) total = int(10000 * a + 5000 * b + 1000 * c) if total == Y and a>=0 and b>=0 and c>=0 : res10000 = a; res5000 = b ; res1000 = c print(r...
s539579907
p03469
u612481724
1556995008
Python
Python (3.4.3)
py
Runtime Error
17
2940
342
# -*- coding: utf-8 -*- # input n, y = map(int, input().split()) for i in range(0, n + 1): for j in range(0, n + 1 - i): if y == 10000 * i + 5000 * j + 1000 * (n - i - j): print(i, j, n - i - j) exit() elif y < 10000 * i + 5000 * j + 1000 * (n - i - j): break pr...
s675103813
p03469
u204800924
1556909904
Python
Python (3.4.3)
py
Runtime Error
18
2940
31
S = input() S[3] = 8 print(S)
s778596554
p03469
u845937249
1556878431
Python
Python (3.4.3)
py
Runtime Error
18
3064
641
# スペース区切りの整数の入力 n, y = map(int, input().split()) i = 0 j = 0 k = 0 l = [-1,-1,-1] #print(l) for i in reversed(range(0,n+1)): #print('i= %d' % i) if y >= i*10000: for j in reversed(range(0,n-i+1)): #print('j= %d' % j) k = n - i - j #print('k= %d' % k) ...
s526978076
p03469
u845937249
1556878403
Python
Python (3.4.3)
py
Runtime Error
18
3064
637
# スペース区切りの整数の入力 n, y = map(int, input().split()) i = 0 j = 0 k = 0 l = [-1,-1,-1] #print(l) for i in reversed(range(0,n+1)): #print('i= %d' % i) if y >= i*10000: for j in reversed(range(0,n-i+1)): #print('j= %d' % j) k = n - i - j #print('k= %d' % k) ...
s668305754
p03469
u845937249
1556878310
Python
Python (3.4.3)
py
Runtime Error
18
3064
637
# スペース区切りの整数の入力 n, y = map(int, input().split()) i = 0 j = 0 k = 0 l = [-1,-1,-1] #print(l) for i in reversed(range(0,n+1)): #print('i= %d' % i) if y >= i*10000: for j in reversed(range(0,n-i+1)): #print('j= %d' % j) k = n - i - j #print('k= %d' % k) ...
s552843246
p03469
u411858517
1556841659
Python
Python (3.4.3)
py
Runtime Error
17
3064
498
N, H = map(int, input().split()) weapon = [list(map(int, input().split())) for _ in range(N)] count = 0 max_atack = -1 for i in range(N): max_atack = max(max_atack, weapon[i][0]) flag = True for i in range(N): if weapon[i][1] >= max_atack: count += 1 H -= weapon[i][1] if H ...
s023018128
p03469
u919633157
1556504615
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
n=int(input()) d={int(input()) for i in range(n)} print(len(d))
s211013951
p03469
u411353821
1556489721
Python
Python (3.4.3)
py
Runtime Error
17
3064
394
ny = list(map(int, input().split())) for i in range(ny[0] + 1): for j in range(ny[0] + 1): if (1000 * i + 5000 * j <= ny[1]) and ((ny[1] - 1000*i - 5000*j) % 10000 == 0) and \ ((ny[1] - 1000*i - 5000*j) // 10000 + i + j == ny[0]): print(i, j, (ny[1] - 1000*i - 5000*j) // 10000) ...
s583574431
p03469
u486807944
1556486131
Python
Python (3.4.3)
py
Runtime Error
149
12484
271
import numpy as np A = list(map(int, input().split())) N = A[0] Y = A[1] Y = Y/1000 Ans = [-1,-1,-1] for i in range(N+1): for j in range(N+1): okane = i + 5* j if okane + 10*(N-i-j) == Y: Ans[0]=(N-i-j) Ans[1]=(j) Ans[2]=(i) print(' '.join(map(str, Ans)))
s320304496
p03469
u856169020
1556219239
Python
Python (3.4.3)
py
Runtime Error
18
2940
172
S = list(str(input())) ans = '' y = '' for index, s in enumerate(S): y += s if index == 3: ans = 2018 break for s in S[4:]: ans += s print(ans)
s351937042
p03469
u151625340
1555969721
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
S = list(input()) print('2017/01/'+S[8:])
s130142748
p03469
u960171798
1555945965
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
date = [for n in input()] date[3]="8" date = "".join(date) print(date)
s108523705
p03469
u960171798
1555945874
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
date = input() date[3]=8 print(date)
s961212097
p03469
u218724761
1555874499
Python
Python (3.4.3)
py
Runtime Error
17
2940
217
n, y = map(int, input().split()) for i in range(n + 1): for j in range(n - i + 1): if i * 10000 + j * 5000 + (n - i - j) * 1000 == y: print(i, j, n - i - j) exit() print("-1 -1 -1")
s203976724
p03469
u144980750
1555819349
Python
Python (3.4.3)
py
Runtime Error
17
2940
18
s=input() s[3]="8"
s315434928
p03469
u776871252
1555702185
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
y, m, d = map(int, input().split('/')) print(y+1 + "/" + m + "/" + d)
s198792551
p03469
u331464808
1555682084
Python
Python (3.4.3)
py
Runtime Error
18
3064
31
s = input() s[3] = '8' print(s)
s448387064
p03469
u331464808
1555532186
Python
Python (3.4.3)
py
Runtime Error
18
2940
44
n = input() s =n.replace(2017,2018) print(s)
s344696923
p03469
u331464808
1555532132
Python
Python (3.4.3)
py
Runtime Error
17
2940
31
n = input() n[3] = '8' print(n)
s009153313
p03469
u331464808
1555532112
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
n = input() n[3] = '8' print(str(n))
s383874441
p03469
u331464808
1555510651
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = list(int,input().split()) s[3] = 8 print(s)
s299240234
p03469
u116092764
1555439391
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
n = int(input()) d = [] for i in range(n): d.append(int(input())) set = set(d) print(str(len(set)))
s280293059
p03469
u914330401
1555381217
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
y, m, d = input() y = '2018' print(y + '/' + m + '/' + d)
s539623751
p03469
u476048753
1555380173
Python
Python (3.4.3)
py
Runtime Error
18
3064
31
s = input() s[3] = "8" print(s)
s219983348
p03469
u476048753
1555380152
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
s = input s[3] = "8" print(s)
s037043147
p03469
u476048753
1555379727
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
a = input() a[3] = 8 print(a)
s990195871
p03469
u476048753
1555379705
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
a, b = input().split() a[3] = 8 print(a+b)
s198755801
p03469
u476048753
1555379665
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a, b input().split() a[3] = 8 print(a+b)
s174658055
p03469
u031598803
1555372005
Python
Python (3.4.3)
py
Runtime Error
17
2940
225
n,y = map(int, input().split()) list = [-1, -1, -1] for i in range(n+1): for j in range(n+1-i): k = n - i - j if y == i*10000 + j*5000 + k*1000: list = [i, j, k] break print(list)
s926734248
p03469
u976871772
1555343439
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
#codinf:UTF-8 s = input() print(s.replace("2017","2018")
s292696776
p03469
u914330401
1555297865
Python
Python (3.4.3)
py
Runtime Error
17
3064
339
N, Y = map(int, input().split()) sum = 0 is_exist = False for i in range(N+1): for j in range(N+1): k = N - i - j sum = i * 10000 + j * 5000 + k * 1000 if sum == Y and i + j + k == N: printf("{} {} {}".format(i, j, k)) is_exist = True break if is_exist: break if is_exist == False: ...
s832835870
p03469
u220345792
1555270644
Python
Python (3.4.3)
py
Runtime Error
17
2940
28
S=input() S[3]="8" print(S)
s315077891
p03469
u840438868
1555194219
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38768
55
S = str(input()) S = S.replace(2017, 2018, 1) print(S)
s203799097
p03469
u697108631
1555181964
Python
Python (3.4.3)
py
Runtime Error
18
2940
59
print(len(set([int(input())for _ in range(int(input()))])))
s920488904
p03469
u513844316
1555129782
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38256
259
N,Y=map(int,input().split()) Y/=1000 s=0 for i in range(N+1): for j in range(N+1-i): if Y-i*10-j*5<=N-i-j and Y-i*10-j*5>=0: s=1 print('{} {} {}'.format(i,j,Y-i*10-j*5)) break if s==0: print('-1 -1 -1')
s128495229
p03469
u382431597
1555099585
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s = input().split("/") print("2018/01/"+s[3])
s699296156
p03469
u697108631
1555067805
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
import sys a = [] for line in sys.stdin: a.append(int(line)) print(len(set(a))-1)
s948675678
p03469
u997113115
1554877568
Python
Python (3.4.3)
py
Runtime Error
18
3060
218
N, Y = map(int, input().split()) Y = Y / 1000 for i in range(N+1): for j in range(N-i+1): if 10*i + 5*j + N-i-j == Y: print("{} {} {}".format(i, j, N-i-j)) exit() print("-1 -1 -1")
s592732336
p03469
u997113115
1554877242
Python
Python (3.4.3)
py
Runtime Error
17
3064
404
N, Y = map(int, input().split()) Y = Y / 1000 isTrue = False for i in range(N+1): for j in range(N-i+1): for k in range(N-i-j+1): if 10*i + 5*j + k == Y: isTrue = True print("{} {} {}".format(i, j, k)) break else: continue ...
s642676620
p03469
u167681750
1554839952
Python
Python (3.4.3)
py
Runtime Error
17
2940
343
n, y = map(int, input().split()) y = y/1000 answer= "" for rep1 in range(n + 1): for rep2 in range(n + 1): for rep3 in range(n + 1): if rep1 + rep2 + rep3 == n and rep1 * 10 + rep2 * 5 + rep3 == y: answer = ("rep1 rep2 rep3") break print(answer) if answer != "" ...
s229944372
p03469
u167681750
1554839207
Python
Python (3.4.3)
py
Runtime Error
17
3060
349
n, y = map(int, input().split()) y = y/1000 counter = [] for rep1 in range(n + 1): for rep2 in range(n + 1): for rep3 in range(n + 1): if rep1 + rep2 + rep3 == n and rep1 * 10 + rep2 * 5 + rep3 == y: counter = ([rep1, rep2, rep3]) break print(counter) if counter...
s120208697
p03469
u329399746
1554693239
Python
Python (3.4.3)
py
Runtime Error
17
3064
328
money = [1000,5000,10000] n,k = list(map(int,input().split())) def calc_num(n,y): for i in range(n+1): for j in range((n+1)-i): if money[0]*i + money[1]*j + money[2]*(n-(i+j)) == y and i+j+(n-(i+j)) == n: return[n-(i+j),j,i] return[-1,-1,-1] o = calc_num(n,k) print(o[0],o[...
s143572218
p03469
u329399746
1554692776
Python
Python (3.4.3)
py
Runtime Error
17
3064
359
money = [1000,5000,10000] n,k = list(map(int,input().split())) def calc_num(n,y): for i in range(n+1): for j in range((n+1)-i): for k in range((n+1)-(i+j)): if money[0]*i + money[1]*j + money[2]*k == y and i+j+k == n: return[i,j,k] return[-1,-1,-1] prin...
s628743323
p03469
u217940964
1554672541
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
S = input() S[0:4] = '2018' print(S)
s120850301
p03469
u028489522
1554649592
Python
Python (3.4.3)
py
Runtime Error
17
2940
221
li = input().split() N = int(li[0]) Y = int(li[1]) p = "-1 -1 -1" for i in range(2001): for j in range(2001): if 10000 * i + 5000 * j + 1000 * (N - i - j) == Y: p = "{} {} {}".format(i, j, N- i - j) print(p)
s987208740
p03469
u121732701
1554590541
Python
Python (3.4.3)
py
Runtime Error
19
2940
78
S = input() Snew = "2018" for i in range(4): S[i] = Snew[i] print(S)
s673698992
p03469
u121732701
1554590416
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
S = input() S[0:3]="2018" print(S)
s690321291
p03469
u121732701
1554590396
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
S = input() S[0:3]="2017" print(S)
s560829058
p03469
u486302338
1554374791
Python
Python (3.4.3)
py
Runtime Error
18
2940
30
S = input() S[3] = 8 print(S)