結果
問題 | No.2922 Rose Garden |
ユーザー |
![]() |
提出日時 | 2024-10-12 14:45:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 94 ms / 3,000 ms |
コード長 | 173 bytes |
コンパイル時間 | 254 ms |
コンパイル使用メモリ | 82,464 KB |
実行使用メモリ | 107,648 KB |
最終ジャッジ日時 | 2024-10-12 14:45:12 |
合計ジャッジ時間 | 5,623 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 50 |
ソースコード
N,S,B = map(int,input().split())H = list(map(int,input().split()))hi = H[0]for h in H:if hi+B*S<h:print('No')exit()hi = max(hi,h)print('Yes')