結果

問題 No.2922 Rose Garden
ユーザー cologne
提出日時 2025-05-23 14:20:21
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 587 ms
コンパイル使用メモリ 82,896 KB
実行使用メモリ 109,292 KB
最終ジャッジ日時 2025-05-23 14:20:27
合計ジャッジ時間 5,653 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 35 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

n,s,b=map(int,input().split())
*a,=map(int,input().split())
x = a[0]
z = s*b

for i in a:
	if i <= x + s * b:
		x = i

print('Yes' if i >= a[-1] else 'No')
0