結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-15 11:57:39 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 190 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 107,776 KB |
| 最終ジャッジ日時 | 2026-05-10 11:13:52 |
| 合計ジャッジ時間 | 6,344 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 WA * 25 |
ソースコード
N, S, B = map(int,input().split())
H = list(map(int,input().split()))
ans = True
for i in range(N-1):
if H[i+1] - H[i] > S * B:
ans = False
if ans == True:
print("Yes")
else:
print("No")