結果

問題 No.2922 Rose Garden
ユーザー chihi311
提出日時 2024-10-12 14:42:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 82,336 KB
実行使用メモリ 107,776 KB
最終ジャッジ日時 2024-10-12 14:42:07
合計ジャッジ時間 5,608 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

n,s,b=map(int,input().split())
ans=1
a=[*map(int,input().split())]
for i in range(1,n):
	d=a[i]-a[i-1]
	if d>s*b:ans=0
if ans:print("Yes")
else:print("No")
0