結果

問題 No.2922 Rose Garden
ユーザー pluto77
提出日時 2024-10-30 11:42:55
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 435 ms
コンパイル使用メモリ 82,312 KB
実行使用メモリ 106,408 KB
最終ジャッジ日時 2024-10-30 11:43:02
合計ジャッジ時間 6,796 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 25 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

n,s,b=map(int,input().split())
l=list(map(int,input().split()))
x=l[0]+b*s
for i in range(1,n):
 cur=max(x,l[i-1]+b*s)
 if l[i]>x:
  print('No')
  exit()
print('Yes')
0