結果
問題 |
No.2922 Rose Garden
|
ユーザー |
|
提出日時 | 2025-05-23 14:22:33 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 356 ms |
コンパイル使用メモリ | 82,720 KB |
実行使用メモリ | 109,240 KB |
最終ジャッジ日時 | 2025-05-23 14:22:40 |
合計ジャッジ時間 | 6,365 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 50 |
ソースコード
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 >= a[-1] else 'No') print(i, a[-1])