結果
| 問題 | No.3065 Speedrun (Normal) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-06-20 16:23:58 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 287 bytes |
| 記録 | |
| コンパイル時間 | 471 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-06-20 16:24:03 |
| 合計ジャッジ時間 | 4,396 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 7 |
ソースコード
a,b,c,d = map(int,input().split())
p,q,r,s,t = map(int,input().split())
count = 0
mondai = [a,b,c,d]
zikann = [p,q,r,s]
for i,j in zip(mondai, zikann):
if (i * j) <= t:
count += i
t -= i * j
elif (i * j) >= t:
count += (t // j)
break
print(count)