#include using namespace std; typedef long long ll; #define REP(i, x, y) for (auto i = (x); i < (y); i++) #define RREP(i, x, y) for (auto i = (y) - 1; (x) <= i; i--) #define ALL(x) (x).begin(), (x).end() #pragma GCC optimize("O3") template bool chmax(T &a, const T b){ if(a < b){ a = b; return true; } return false; } int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N, S, B; cin >> N >> S >> B; vector H(N); REP(i, 0, N){ cin >> H[i]; } ll ma = H[0]; REP(i, 1, N){ if(ma + S * B < H[i]){ cout << "No\n"; return 0; } chmax(ma, H[i]); } cout << "Yes\n"; return 0; } /* File : ~/yukicoder/midoriika_3rd/D.cpp Date : 2024/10/12 Time : 14:37:49 */