結果

問題 No.5018 Let's Make a Best-seller Book
ユーザー すぎぱも
提出日時 2023-10-01 14:18:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 438 bytes
コンパイル時間 415 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 87,936 KB
スコア 0
平均クエリ数 2.00
最終ジャッジ日時 2023-10-01 14:18:45
合計ジャッジ時間 15,183 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 100
権限があれば一括ダウンロードができます

ソースコード

diff #

T, N, money = map(int, input().split())
s, p, r = [0] * N, [0] * N, [0] * N


def do(arg):
    if type(arg) == list:
        print(1, *arg)
    else:
        print(2, arg)
    money = int(input())
    if money == -1:
        exit()
    s = list(map(int, input().split()))
    p = list(map(int, input().split()))
    r = list(map(int, input().split()))
    return s, p, r


for week in range(T):
    s, p, r = do([money // (500 * N)] * N)
0