結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-29 10:46:46 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 70 ms / 3,000 ms |
| + 338µs | |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 64,344 KB |
| 実行使用メモリ | 87,500 KB |
| 最終ジャッジ日時 | 2026-10-15 06:27:28 |
| 合計ジャッジ時間 | 7,018 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 51 |
ソースコード
n,s,b=map(int,input().split())
h=list(map(int,input().split()))
x=h[0]+s*b
for i in range(1,n):
if x<h[i]:
print("No")
exit()
x=max(x,h[i]+s*b)
print("Yes")