結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-10-02 01:04:59 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 267 ms |
| コンパイル使用メモリ | 85,760 KB |
| 実行使用メモリ | 106,496 KB |
| 最終ジャッジ日時 | 2026-04-18 10:04:28 |
| 合計ジャッジ時間 | 5,872 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")