結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-29 10:46:46 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 67 ms / 3,000 ms |
| + 745µs | |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 64,248 KB |
| 実行使用メモリ | 87,192 KB |
| 最終ジャッジ日時 | 2026-11-02 01:50:04 |
| 合計ジャッジ時間 | 6,161 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 53 |
ソースコード
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")