結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-15 11:57:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 413 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 107,520 KB |
| 最終ジャッジ日時 | 2024-11-15 11:57:47 |
| 合計ジャッジ時間 | 7,888 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")