結果

問題 No.2922 Rose Garden
ユーザー chihi311
提出日時 2024-10-12 14:41:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 31,972 KB
最終ジャッジ日時 2024-10-12 14:41:21
合計ジャッジ時間 6,201 ms
ジャッジサーバーID
(参考情報)
judge / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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