結果
| 問題 | No.1736 Princess vs. Dragoness |
| コンテスト | |
| ユーザー |
ibukiti
|
| 提出日時 | 2021-11-12 21:34:26 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 53 ms / 2,000 ms |
| + 435µs | |
| コード長 | 252 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 64,548 KB |
| 実行使用メモリ | 58,968 KB |
| 最終ジャッジ日時 | 2026-10-15 03:14:16 |
| 合計ジャッジ時間 | 3,478 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 35 |
ソースコード
n,a,b,x,y=map(int,input().split())
h=list(map(int,input().split()))
h.sort(reverse=True)
for i in range(a):
if max(h)-x<0:
h[h.index(max(h))]=0
else :
h[h.index(max(h))]-=x
if sum(h)>y*b:
print("No")
else:
print("Yes")
ibukiti