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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s653898342 | p03469 | u972475732 | 1573063829 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 35 | print(input()[0:3]+'8'+input()[5:]) |
s434403924 | p03469 | u972475732 | 1573063042 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | n = input()
n[4] = '8'
print(n) |
s516568614 | p03469 | u972475732 | 1573063011 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 29 | n = input()
n[4] = 8
print(n) |
s428567177 | p03469 | u972475732 | 1573062939 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 36 | n = input()
n[0:4] = '2018'
print(n) |
s458969387 | p03469 | u633548583 | 1573013769 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | s=str(input())
print(s.replace("2017"."2018"))
|
s001619965 | p03469 | u633548583 | 1573013736 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | s=str(input())
print(s.reprace("2017"."2018")) |
s040515599 | p03469 | u208844959 | 1573009649 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 359 | N, Y = map(int, input().split())
o_a = -1
o_b = -1
o_c = -1
for a in range(N+1):
for b in range(N+1):
c = N - a - b
if c < 0:
continue
total = 10000 * a + 5000 * b + 1000 * c
if a + b + c == N & total == N:
o_a = a
o_b = b
o_c = c
... |
s673533449 | p03469 | u754022296 | 1572962092 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38384 | 31 | s = input()
s[3] = "8"
print(s) |
s315521922 | p03469 | u617659131 | 1572913070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | s = input()
s[3] = "8"
print(s) |
s509893004 | p03469 | u887524368 | 1572574580 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 318 | def pay(i: int, remain: int, z: int):
for i in range(0, (n - z) + 1):
if 10 * i + 5 * (remain - i) + z == m:
print(i, remain - i, z)
exit()
return
n, M = list(map(int, input().split(" ")))
m = int(M / 1000)
for z in range(n, -1, -1):
pay(0, n - z, z)
print(-1, -1, -1)
|
s780528842 | p03469 | u735069283 | 1572409363 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | S =str(input())
print('2018/01/' + s[-2:]) |
s047627858 | p03469 | u523781418 | 1572388814 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | y,m,d=input().split('/')
y=int(y)
y+=1
y=str(y)\
print(y+'/'+m+'/'+d) |
s511523192 | p03469 | u022269787 | 1572235565 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 193 | 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(i, j, N - i - j)
exit()
print(-1, -1, -1) |
s538879807 | p03469 | u804048521 | 1572208351 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 35 | S = input()
S[:3] = '2018'
print(S) |
s856126824 | p03469 | u798073524 | 1572148837 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 227 | 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 a*10000+b*5000+c*1000==y:
print(a,b,c)
exit()
print('-1 -1 -1') |
s803427167 | p03469 | u798073524 | 1572148771 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 198 | n,y = map(int, input().split())
for a in range(n+1):
for b in range(n+1):
c=n-a-b
if 10000*a + 5000*b + 1000*c == y:
print(a, b, c)
exit
print("-1 -1 -1") |
s097714225 | p03469 | u740284863 | 1572128913 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 384 | n,h = map(int,input().split())
A = []
B = []
for i in range(n):
a,b = map(int,input().split())
A.append(a)
B.append(b)
A.sort(reverse=True)
B.sort(reverse=True)
B = [ i for i in B if i > A[0] ]
ans = 0
for i in B:
ans += 1
h -= i
if h < 0:
break
if h > 0:
if h % A[0] == 0:
an... |
s577670438 | p03469 | u589432040 | 1572128520 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | S = input()
S[0:4]="2018"
print(S) |
s580197682 | p03469 | u042802884 | 1571972636 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38384 | 33 | print(replace(input(),'7','8',1)) |
s666575359 | p03469 | u240096083 | 1571599497 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | n = int(input())
d = [int(input()) for i in range(n)]
deduplicate = set(d)
print(len(deduplicate)) |
s385823548 | p03469 | u020390084 | 1571489298 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3064 | 582 | import sys
def solve(N: int, Y: int):
max_i = N//10000
for i in range(0,max_i+1): ##10000円
for j in range(N-i+1):
k = N-i-j
if 10000*i+5000*j+1000*k == Y:
print(i,j,k)
return
print(-1,-1,-1)
return
def main():
def iterate_tokens():... |
s527792256 | p03469 | u291628833 | 1571439027 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 162 | 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(i,j,n-i-j);exit()
print(-1,-1,-1)
|
s505425938 | p03469 | u246572032 | 1571346489 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | s = ['2017', '/', '01', '/', '07']
print(s.pop[2017])
print(s.append[2018]) |
s714473404 | p03469 | u080108339 | 1570911023 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 153 | N = int(input())
a = sorted(map(int, [input() for i in range(N)]), reverse=True)
dan = 1
for i in range(N-1):
if a[i] > a[i+1]:
dan += 1
print(dan) |
s934039406 | p03469 | u365013885 | 1570510306 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | day = list(map(int,input().split('/')))
day[0] = 2018
print(day[0],day[1],day[2],sep('/')) |
s914131482 | p03469 | u365013885 | 1570509901 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | day = list(input().split('/'))
day[0] = '2018'
print(day[0],day[1],day[2],sep(/)) |
s430146235 | p03469 | u365013885 | 1570509824 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | day = list(input().split('/'))
day[0] = 2018
print(day[0],day[1],day[2],sep(/)) |
s753120893 | p03469 | u279718559 | 1570353122 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 447 | N, Y = map(int, input().split())
for y in range(0, 2001):
for z in range(2001-y, - 1, -1):
if 10000 * N - 5000 * y - 9000 * z - Y == 0:
print(N - y - z, y, z)
break
elif y == 2000 and z == 0:
print(-1, -1, -1)
break
else:
pass
... |
s162829567 | p03469 | u279718559 | 1570349676 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 123 | # https://atcoder.jp/contests/abc085/tasks/abc085_b
n = int(input())
print(len(set(map(int, [input() for i in range(n)])))) |
s599588332 | p03469 | u925336653 | 1570135499 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 392 | N,Y = map(int,input().split())
flag = 0
#10000円のループ
for x in range(N+1):
if Y-x*10000 < 0:
print(-1,-1,-1)
break
#5000円のループ
for y in range(N+1-x):
z = N-x-y
if (Y-x*10000-y*5000 < 0) or (Y-x*10000-y*5000-z*1000 != 0):
break
else:
print(x,y,z)
... |
s951966839 | p03469 | u777394984 | 1569717959 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 34 | print(input()[:3]+"8"+input()[5:]) |
s244890214 | p03469 | u287431190 | 1569534804 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 29 | s = input()
s[3] = 8
print(s) |
s622618150 | p03469 | u991269553 | 1569426805 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 71 | n = int(input())
print(len(set(map(int, [input() for i in range(n)])))) |
s510841865 | p03469 | u991269553 | 1569426762 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 71 | n = int(input())
print(len(set(map(int, [input() for i in range(n)])))) |
s043554446 | p03469 | u580093517 | 1569036124 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | print(len(set(int(input()) for _ in range(int(input()))))) |
s044393377 | p03469 | u655135177 | 1568936482 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | date = input()
print(date.replace(date[4:],2018)) |
s642358247 | p03469 | u248305644 | 1568909406 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | n = int(input())
print(len(set(map(int,[input() for i in range(n)])))) |
s548635019 | p03469 | u528807020 | 1568876019 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | S = input()
print(S.replace("2017","2018") |
s768221598 | p03469 | u788703383 | 1568678956 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 60 | print(len(set[(int(input()) for i in range(int(input()))]))) |
s118441711 | p03469 | u788703383 | 1568678839 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | print(len(set(int(input()) for i in range(int(input()))))) |
s927392088 | p03469 | u356701928 | 1568657648 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | s=input()
s[3]="8"
print(s) |
s441475153 | p03469 | u586564705 | 1568653612 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 256 | numbers = list(map(int,input().split()))
N = numbers[0]
Y = numbers[1]
a,b,c = -1,-1,-1
for i in range(N+1):
for j in range(N+1-i):
if 10000*i + 5000*j + 1000*(N-i-j) == Y:
a,b,c = i,j,N-i-j
break
else:
continue
break
print(a,b,c) |
s019796838 | p03469 | u586564705 | 1568653011 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 215 | numbers = list(map(int,input().split()))
N = numbers[0]
Y = numbers[1]
for i in range(N+1):
for j in range(N+1-i):
if 10000*i + 5000*j + 1000*(N-i-j) == Y:
print(i,j,N-i-j)
exit()
print("-1 -1 -1") |
s855471379 | p03469 | u886747123 | 1568513066 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 1386 | N_n_osatsu, Y_sum_money = map(int, input().split())
rest_money = Y_sum_money
rest_n_osatsu = N_n_osatsu
n_each_osatsu_list = [] # 万札、五千円札、千円札の枚数の2重リスト
def skip_search(rest_money, rest_n_osatsu): # 明らかに無理な場合、処理をスキップ
if rest_n_osatsu*1000 > rest_money or rest_n_osatsu*10000 < rest_money:
return True
def i... |
s090595801 | p03469 | u886747123 | 1568503809 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 82 | N = int(input())
d_list = [int(input()) for _ in range(N)]
print(len(set(d_list))) |
s375492021 | p03469 | u556589653 | 1568318510 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | N = int(input())
ans = 1
d = []
for i in range(N):
d.append(int(input()))
sorted(d,reverse=True)
print(set(d))
|
s248177741 | p03469 | u951480280 | 1568176554 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 216 | n,Y = map(int,input().split())
x = -1
y = -1
z = -1
for i in range(Y//10000 + 1):
for j in range(n-i+1):
if 9*i + 4*j == Y/1000 - n:
x = i
y = j
z = n-i-j
print(x,y,z) |
s134621560 | p03469 | u265118937 | 1568058691 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | s=int(input())
print("2018"+[:4]) |
s157457393 | p03469 | u469953228 | 1567967190 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | s = input()
print(s.replace('2017','2018') |
s320955831 | p03469 | u663861584 | 1567966831 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 443 | NY = input().split(" ")
N = int(NY[0])
Y = int(NY[1])
KKK = 0
KK = 0
K = 0
check = 0
for i in range(0, N):
if check == 1:
break
for j in range(0, N - i):
k = N - i - j #kは千円
if k * 10000 + j * 5000 + i * 1000 == Y and i + j + k == N:
KKK = k
KK = j
K ... |
s031749128 | p03469 | u469953228 | 1567966793 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 56 | y,m,d = int(input().split("/"))
print(2018+"/"+m+"/"+d) |
s377907480 | p03469 | u636822224 | 1567613731 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 32 | print(input().replace(s[3],'8')) |
s307722618 | p03469 | u636822224 | 1567613343 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | s=input()
s[3]='8'
print(s) |
s657145918 | p03469 | u636822224 | 1567613261 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | s = input()
s[3]=7
print(s) |
s887904716 | p03469 | u572142121 | 1567486239 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | S = input()
print('2018'+s[4:]) |
s396095289 | p03469 | u844123804 | 1567384974 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 25 | print("2018"+input([4:])) |
s911763495 | p03469 | u444082822 | 1567106229 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 327 | L = input().split()
N = int(L[0])
Y = int(L[1])
c = -1
d = -1
e = -1
for a in range(N + 1):
for b in range(N + 1):
if 10000*a + 5000*b + 1000*(N - a - b) == Y and N - a - b >= 0:
c = a
d = b
e = N - a - b
else:
pass
print(str(c) + " " + str(d) + " " + ... |
s261589825 | p03469 | u756696693 | 1566873377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 33 | S=int(input())
print(2018+S[4::]) |
s509444538 | p03469 | u437638594 | 1566748869 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 29 | S = input()
S[3] = 8
print(S) |
s247914091 | p03469 | u097317219 | 1566733465 | Python | PyPy3 (2.4.0) | py | Runtime Error | 160 | 38384 | 67 | s = input()
s_list = list(s)
s_list[3] = "8"
print("",join(s_list)) |
s719576630 | p03469 | u302292660 | 1566707343 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | s = input()
s.replace("2017","2018) |
s280675216 | p03469 | u207464563 | 1566705694 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | S = list(input())
S[3] = 8
print("".join(S))
|
s850383452 | p03469 | u264265458 | 1566319505 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 25 | a=input()
a[3]=8
print(a) |
s270738194 | p03469 | u264265458 | 1566319476 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | a=input()
a[3]="8"
print(a) |
s099624707 | p03469 | u441191580 | 1566259180 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 664 | num = input().split()
n = int(num[0])
y = int(num[1])
m = 0
g = 0
s = 0
flag = False
for i in range(n+1):
if flag:
break
m = i
for e in range(n+1):
if flag:
break
g = e
me = m * 10000
ge = g * 5000
tmpS = y - (me+ge)
... |
s665843175 | p03469 | u273038590 | 1566229101 | Python | PyPy3 (2.4.0) | py | Runtime Error | 189 | 38384 | 199 | 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) |
s058759664 | p03469 | u273038590 | 1566228972 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 199 | 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) |
s144364611 | p03469 | u284999381 | 1566137088 | 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") |
s377233879 | p03469 | u340153434 | 1566071770 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38256 | 375 | N,Y = map(int,input().split())
x = y = z = 0
for i in range(N,-1,-1):
if i*10000 <= Y:
charge = Y - i*10000
rest = N - i
for j in range(rest,-1,-1):
if j*5000 <= charge:
if charge - j*5000 - (rest-j)*1000 == 0:
print('{0} {1} {2}'.format(i, j ,... |
s313169497 | p03469 | u340153434 | 1566071223 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 359 | N,Y = map(int,input().split())
x = y = z = 0
for i in range(N,-1,-1):
if i*10000 <= Y:
charge = Y - i*10000
rest = N - i
for j in range(rest,-1,-1):
if j*5000 <= charge:
if charge - j*5000 - (rest-j)*1000 == 0:
print(f'{i} {j} {rest-j}')
... |
s876252570 | p03469 | u248670337 | 1565970368 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 27 | s=input()
s[3]='8'
print(s) |
s294728423 | p03469 | u333731247 | 1565908849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | S=str(input())
S[3]=8
print(S) |
s164146669 | p03469 | u703442202 | 1565897084 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 105 | n = int(input())
n_list =[]
for i in range(n+1):
n_list.append(int(input()))
print(len(set(n_list)))
|
s422302847 | p03469 | u703442202 | 1565897065 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | n = int(input())
n_list =[]
for i in range(n+1):
n_list.append(int(input()))
print(len(lset(n_list)))
|
s056513918 | p03469 | u678009529 | 1565896610 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 366 | n, y = map(int, input().split())
for i in range(int(round(y/10000, 0)) + 1):
for j in range(int(round(y/5000, 0)) + 1):
for k in range(int(round(y/1000, 0)) + 1):
if i+j+k > n:
break
elif (10000*i) + (5000*j) + (1000*k) == y and i+j+k == n:
print(i, j... |
s676724012 | p03469 | u678009529 | 1565891992 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | n = int(input())
a = set([input() for i in range(n)])
print(len(a)) |
s997359561 | p03469 | u649558044 | 1565850628 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | n = int(input())
d = set([int(input()) for i in range(n)])
print(len(d)) |
s563819923 | p03469 | u453500284 | 1565840555 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 61 | print(len(set([int(input()) for _ in range(int(input()))])))
|
s632669435 | p03469 | u453500284 | 1565840500 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 62 | print(len(set([int(input()), for _ in range(int(input()))])))
|
s879519976 | p03469 | u453500284 | 1565840378 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 59 | print(len(set[int(input()), for _ in range(int(input()))])) |
s122318175 | p03469 | u453500284 | 1565840336 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | print(len(set[int(input()), for _ in range(int(input())])) |
s371208917 | p03469 | u510565553 | 1565822693 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 405 | i = input()
i = i.split(" ")
n = int(i[0])
y = int(i[1])
y = y / 1000
cn = []
for c in range(int(((y-n) // 9))+1):
if ((y-n-9*c) // 4) == 0:
cn.append([int((y-n-9*c) / 4), c])
else:
pass
if(len(cn) == 0):
rs = [-1, -1, -1]
else:
j = cn[0]
a = n - j[0] - j[1]
if a >= 0:
rs = [a, j[0], j[1]]
... |
s393383959 | p03469 | u510565553 | 1565822577 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 405 | i = input()
i = i.split(" ")
n = int(i[0])
y = int(i[1])
y = y / 1000
cn = []
for c in range(int(((y-n) // 9))+1):
if ((y-n-9*c) // 4) == 0:
cn.append([int((y-n-9*c) / 4), c])
else:
pass
if(len(cn) == 0):
rs = [-1, -1, -1]
else:
j = cn[0]
a = n - j[0] - j[1]
if a >= 0:
rs = [a, j[0], j[1]]
... |
s056967863 | p03469 | u256464928 | 1565817868 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | s = input()
s[3] = "8"
print(s) |
s971580059 | p03469 | u480568292 | 1565775089 | Python | Python (3.4.3) | py | Runtime Error | 23 | 3188 | 59 | print(len(set([int(input())for _ in range(int(input()))]))) |
s199032960 | p03469 | u874741582 | 1565733057 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | s=str(input())
s[3]="8"
print(s) |
s867935563 | p03469 | u874741582 | 1565733027 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 31 | s=str(input())
s[3]="8
print(s) |
s482702007 | p03469 | u527925554 | 1565715957 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 58 | S = input().split("/")
S[0] = "2018"
print("/".join(S))
|
s668165429 | p03469 | u798316285 | 1565649186 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 68 | n=input()
l=[int(input()) for i in range(n)]
s=set(l)
print(len(s))
|
s720090937 | p03469 | u969062493 | 1565633365 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 291 | n, y = map(int, input().split())
b = [-1, -1, -1]
count = 0
for i in range(n + 1):
for j in range(n + 1):
k = n - i - j
if k < 0:
break
total = 10000 * i + 5000 * j + 1000 * k
count += 1
if total == y and (i + j + k) == n:
b = [i, j, k]
break
print(b) |
s756958900 | p03469 | u929138803 | 1565571152 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 237 | nm = list(map(int,input().split()))
n = nm[0]
m = nm[1]
y1 = 1000
y2 = 5000
y3 = 10000
for x1 in range(n+1):
for x2 in range(n+1-x1):
if m == x1*y1 + x2*y2 + (n - x1 - x2)*y3 :
print(x1,x2,(n - x1 - x2))
exit()
print(-1,-1,-1) |
s198425183 | p03469 | u380524497 | 1565554948 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 258 | n, total = map(int, input().split())
x = -1
y = -1
z = -1
for a in range(n+1): #10000
for b in range(n-a+1): #5000
c = n-a-b
if total == 10000 * a + 5000 * b + 1000 * c:
x, y, z = a, b, c
break
print(x, y, z)
|
s989136456 | p03469 | u533529347 | 1565519663 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 357 | N, Y = list(map(int, input().split()))
N1000 = -1
N5000 = -1
N10000 = -1
flag = False
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:
N1000 = i
N5000 = j
N10000 = k
flag = True
break
if flag:
... |
s992166481 | p03469 | u371530330 | 1565495946 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | s = input()
s[3] = '8'
print(s) |
s021996722 | p03469 | u623735583 | 1565313267 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 217 | N,Y = map(int,input().split())
for x in range(N+1):
for y in range(N+1):
z = N - x - y
if z < 0:
continue
if 10000 * x + 5000 * y + 1000 * z == Y:
print(x,y,z)
exit()
print(-1,-1,-1)
|
s739519224 | p03469 | u412481017 | 1565149549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 330 | a,b =map(int,input().split())
#print(a,b)
#10000,5000,1000
i=0
j=0
flag=0
while i< a:
j=0
while j < a-i:
k=a-i-j
#print(i,j,k)
if 10000*i+5000*j+1000*k==b:
print(i,j,k)
flag=1
break
if flag==1:
break
j=j+1
if flag==1:
break
i=i+1
if flag==0:
print... |
s162891510 | p03469 | u503111914 | 1565037613 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 48 | a = input().split()
print("2018/"+a[1]+"/"+a[2]) |
s988040380 | p03469 | u158778550 | 1564950680 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 236 | N = int(input())
dL = []
for n in range(N):
dL.append(int(input()))
dL.sort()
counter = 0
for n in range(N-1):
n = n + 1
if dL[n-1] == dL[n]:
pass
else:
counter += 1
if counter == 0:
counter = 1
print(counter) |
s026287746 | p03469 | u160659351 | 1564888945 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38384 | 265 | n, y = map(int, input().rstrip().split())
a, b, c = -1, -1, -1
for i in range(n+1):
for j in range(n+1-i):
if 10000*i + 5000*j + 1000*(n-i-j) == y:
a, b, c = i, j, n-i-j
break
else:
continue
break
print(a, b, c) |
s937848233 | p03469 | u549383771 | 1564883487 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 244 | yukichi_num = 0
ichiyou_num = 0
a,b = map(int,input().split())
for i in range(a+1):
for n in range(a+1-i):
if i*10000+n*5000+1000*(a-i-n) == b:
print('{0} {1} {2}'.format(i,n,a-i-n))
exit()
print('-1 -1 -1') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.