結果
| 問題 | No.3065 Speedrun (Normal) |
| ユーザー |
|
| 提出日時 | 2025-03-21 22:48:15 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 32 ms / 2,000 ms |
| + 77µs | |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 64,436 KB |
| 実行使用メモリ | 53,488 KB |
| 最終ジャッジ日時 | 2026-11-06 14:54:25 |
| 合計ジャッジ時間 | 2,156 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
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)