結果

問題 No.1736 Princess vs. Dragoness
ユーザー Shirotsume
提出日時 2021-10-24 16:15:55
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 377 ms
コンパイル使用メモリ 82,312 KB
実行使用メモリ 60,236 KB
最終ジャッジ日時 2024-11-25 11:00:24
合計ジャッジ時間 2,812 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

n, a, b, x, y = map(int,input().split())
h = list(map(int,input().split()))

if sum(h) <= a * x + b * y:
    print('Yes')
else:
    print('No')
0