結果
| 問題 |
No.512 魔法少女の追いかけっこ
|
| コンテスト | |
| ユーザー |
hanorver
|
| 提出日時 | 2017-05-05 22:32:21 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 372 bytes |
| コンパイル時間 | 111 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-27 05:55:42 |
| 合計ジャッジ時間 | 2,896 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 50 WA * 3 |
ソースコード
x_h,y_h = map(int, input().split())
n_traffics = int(input())
traffics = list(map(int, input().split()))
traffics.append(10000000000000000000) # 番兵
# 分速に変更とkm => m
x_s = x_h * 1000 * 3600
y_s = y_h * 1000 * 3600
for i in range(n_traffics):
time = traffics[i] / x_s
if time * y_s > traffics[i + 1]:
print("NO")
exit(0)
print("YES")
hanorver