結果
| 問題 |
No.2922 Rose Garden
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-10-02 01:04:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 276 bytes |
| コンパイル時間 | 565 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 106,396 KB |
| 最終ジャッジ日時 | 2024-10-02 01:05:06 |
| 合計ジャッジ時間 | 7,227 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 33 |
ソースコード
N, S, B = map(int, input().split())
H = list(map(int, input().split()))
now_height = H[0]
for i in range(1, N):
if now_height <= H[i]:
pass
elif now_height + B * S <= H[i]:
now_height = H[i]
else:
print("No")
exit()
print("Yes")