結果
| 問題 | No.3065 Speedrun (Normal) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-21 22:48:15 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 95,848 KB |
| 実行使用メモリ | 79,140 KB |
| 最終ジャッジ日時 | 2026-07-07 15:55:31 |
| 合計ジャッジ時間 | 2,357 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
a,b,c,d,=map(int,input().split()) p,q,r,s,T=map(int,input().split()) L=[[a,p],(b,q),(c,r),[d,s]] L.sort(key=lambda x:x[1]) ans=0 for n,t in L: if n<=T//t: ans+=n T-=n*t else: ans+=T//t break print(ans)