結果
問題 |
No.5018 Let's Make a Best-seller Book
|
ユーザー |
![]() |
提出日時 | 2023-10-01 13:21:32 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 384 bytes |
コンパイル時間 | 308 ms |
コンパイル使用メモリ | 87,012 KB |
実行使用メモリ | 4,380 KB |
スコア | 0 |
最終ジャッジ日時 | 2023-10-01 13:21:36 |
合計ジャッジ時間 | 3,746 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 99 |
ソースコード
money = 2000000 T, N = map(int, input().split()) s, p, r = [0] * N, [0] * N, [0] * N def do(l, x): print(1, *l) print(2, x) 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())) for week in range(T): s, p, r = do([money // (500 * N)] * N, 1)