結果

問題 No.5018 Let's Make a Best-seller Book
ユーザー hiro1729
提出日時 2023-10-01 13:10:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 145 ms / 400 ms
コード長 364 bytes
コンパイル時間 390 ms
コンパイル使用メモリ 86,828 KB
実行使用メモリ 92,224 KB
スコア 4,101
平均クエリ数 52.00
最終ジャッジ日時 2023-10-01 13:11:10
合計ジャッジ時間 18,300 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 100
権限があれば一括ダウンロードができます

ソースコード

diff #

T, N, money = map(int, input().split())
S = [0] * N
P = [0] * N
R = [0] * N
for week in range(T):
	if money > 500000 and week % 17 == 0:
		print(2, 1, flush = True)
	else:
		L = [money // (500 * N)] * N
		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