結果

問題 No.2922 Rose Garden
ユーザー miho-4
提出日時 2024-10-12 15:06:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 435 ms
コンパイル使用メモリ 81,624 KB
実行使用メモリ 105,856 KB
最終ジャッジ日時 2024-10-12 15:06:54
合計ジャッジ時間 4,782 ms
ジャッジサーバーID
(参考情報)
judge5 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

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