結果
| 問題 | No.2922 Rose Garden |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-30 11:42:55 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 167 bytes |
| 記録 | |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 80,512 KB |
| 実行使用メモリ | 108,544 KB |
| 最終ジャッジ日時 | 2026-09-19 07:39:20 |
| 合計ジャッジ時間 | 6,243 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / 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')