結果
| 問題 |
No.2922 Rose Garden
|
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2025-04-29 11:54:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 252 bytes |
| コンパイル時間 | 317 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 31,404 KB |
| 最終ジャッジ日時 | 2025-04-29 11:54:27 |
| 合計ジャッジ時間 | 7,409 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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(' ')))
for i in range(N-1):
h1, h2 = H[i], H[i+1]
if not (h1 + S * B) >= h2:
print('No')
exit()
print('Yes')
splash9494