結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2025-04-29 12:03:04 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 350 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 103,552 KB |
| 最終ジャッジ日時 | 2026-07-10 09:31:41 |
| 合計ジャッジ時間 | 6,809 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 WA * 25 |
ソースコード
# https://yukicoder.me/problems/no/2922
N, S, B = list(map(int, input().split(' ')))
H = list(map(int, input().split(' ')))
mh = H[0]
for i in range(N-1):
h1, h2 = max(mh, H[i]), H[i+1]
if not (h1 + S * B) >= h2:
print('No')
exit()
print('Yes')
splash9494