結果

問題 No.2922 Rose Garden
ユーザー cologne
提出日時 2025-05-23 14:21:10
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 151 bytes
コンパイル時間 727 ms
コンパイル使用メモリ 82,776 KB
実行使用メモリ 109,120 KB
最終ジャッジ日時 2025-05-23 14:21:18
合計ジャッジ時間 7,309 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 50
権限があれば一括ダウンロードができます

ソースコード

diff #

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

for i in a:
	if i <= x + z:
		x = max(x, i)

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