結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-30 11:42:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| 記録 | |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 85,888 KB |
| 実行使用メモリ | 106,240 KB |
| 最終ジャッジ日時 | 2026-05-06 00:09:21 |
| 合計ジャッジ時間 | 3,987 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 25 WA * 25 |
ソースコード
n,s,b=map(int,input().split())
l=list(map(int,input().split()))
x=l[0]+b*s
for i in range(1,n):
cur=max(x,l[i-1]+b*s)
if l[i]>x:
print('No')
exit()
print('Yes')