結果
問題 |
No.3064 Speedrun (Easy)
|
ユーザー |
![]() |
提出日時 | 2025-07-30 10:38:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 410 bytes |
コンパイル時間 | 167 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-07-30 10:38:17 |
合計ジャッジ時間 | 1,646 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
problist = list(map(int, input().split())) time = list(map(int, input().split())) for i in range(len(problist)): if i == 0: a = problist[i] * time[i] elif i == 1: b = problist[i] * time[i] elif i == 2: c = problist[i] * time[i] elif i == 3: d = problist[i] * time[i] sum = a + b + c + d limit = time[-1] if sum <= limit: print("Yes") else: print("No")