結果
| 問題 |
No.2922 Rose Garden
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2024-10-12 14:41:14 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 92 ms / 3,000 ms |
| コード長 | 200 bytes |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 82,248 KB |
| 実行使用メモリ | 107,324 KB |
| 最終ジャッジ日時 | 2024-10-12 14:41:24 |
| 合計ジャッジ時間 | 5,333 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 50 |
ソースコード
n, s, b = map(int, input().split())
h = list(map(int, input().split()))
now = h[0]
for hi in h:
if now < hi:
print('No')
break
now = max(s * b + hi, now)
else:
print('Yes')
Kude