結果

問題 No.2922 Rose Garden
ユーザー ymsksky
提出日時 2024-10-12 16:04:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 178 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 82,348 KB
実行使用メモリ 107,724 KB
最終ジャッジ日時 2024-10-12 16:04:08
合計ジャッジ時間 4,742 ms
ジャッジサーバーID
(参考情報)
judge3 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

n, s, b = map(int, input().split())
hl = list(map(int, input().split()))
h = hl[0]
for g in hl[1:]:
    if h + s*b < g:
        print("No")
        exit()
    h = g
print("Yes")
0