結果
問題 |
No.3065 Speedrun (Normal)
|
ユーザー |
![]() |
提出日時 | 2025-03-22 01:28:26 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 531 ms |
コンパイル使用メモリ | 82,908 KB |
実行使用メモリ | 53,864 KB |
最終ジャッジ日時 | 2025-03-22 01:28:29 |
合計ジャッジ時間 | 2,202 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 2 WA * 11 |
ソースコード
a=list(map(int,input().split()))+list(map(int,input().split())) t=a[-1] q=[(a[i+4],a[i]) for i in range(4)] q.sort() c=0 for g,h in q: if t//g<=h: t-=g*h c+=h else: t-=g*(t//g) c+=t//g print(c)