結果

問題 No.5018 Let's Make a Best-seller Book
ユーザー hiro1729hiro1729
提出日時 2023-10-01 13:36:07
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 378 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 87,256 KB
実行使用メモリ 95,608 KB
スコア 0
平均クエリ数 1.00
最終ジャッジ日時 2023-10-01 13:36:32
合計ジャッジ時間 24,148 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 100
権限があれば一括ダウンロードができます

ソースコード

diff #

T, N, money = map(int, input().split())
S = [0] * N
P = [0] * N
R = [0] * N
for week in range(T):
	p = sorted([(P[i], i) for i in range(N)], reverse = True)
	L = [money // (300 * N)] * N
	for i in p[8:]:
		L[i[1]] = 0
	print("1", *L, flush=True)
	money = int(input())
	S = list(map(int, input().split()))
	P = list(map(int, input().split()))
	R = list(map(int, input().split()))
0