結果
問題 |
No.2922 Rose Garden
|
ユーザー |
|
提出日時 | 2025-05-23 14:23:56 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 425 ms |
コンパイル使用メモリ | 81,668 KB |
実行使用メモリ | 109,256 KB |
最終ジャッジ日時 | 2025-05-23 14:24:03 |
合計ジャッジ時間 | 6,454 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 46 WA * 4 |
ソースコード
n, s, b = map(int, input().split()) *a, = map(int, input().split()) x = a[0] for i in a: if i <= x + s*b: x = max(x, i) print('Yes' if x + s * b >= a[-1] else 'No')