結果

問題 No.1736 Princess vs. Dragoness
ユーザー a aa a
提出日時 2022-10-07 16:14:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 8,668 KB
最終ジャッジ日時 2023-09-02 16:37:26
合計ジャッジ時間 4,423 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,872 KB
testcase_01 AC 16 ms
8,032 KB
testcase_02 AC 16 ms
8,004 KB
testcase_03 WA -
testcase_04 AC 56 ms
7,884 KB
testcase_05 AC 19 ms
7,944 KB
testcase_06 AC 64 ms
7,904 KB
testcase_07 AC 202 ms
8,492 KB
testcase_08 AC 82 ms
7,880 KB
testcase_09 AC 154 ms
8,540 KB
testcase_10 AC 17 ms
7,832 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 69 ms
8,492 KB
testcase_14 WA -
testcase_15 AC 21 ms
7,832 KB
testcase_16 AC 33 ms
7,924 KB
testcase_17 WA -
testcase_18 AC 32 ms
8,440 KB
testcase_19 AC 34 ms
8,004 KB
testcase_20 AC 19 ms
7,900 KB
testcase_21 WA -
testcase_22 AC 144 ms
8,444 KB
testcase_23 WA -
testcase_24 AC 16 ms
8,016 KB
testcase_25 AC 51 ms
7,920 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 76 ms
7,896 KB
testcase_32 WA -
testcase_33 AC 16 ms
7,940 KB
testcase_34 AC 16 ms
8,068 KB
testcase_35 AC 16 ms
7,976 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
n,a,b,x,y=list(map(int,input().split()))
h=list(map(int,input().split ()))
for k in range(a):
    mi=h.index(max(h))
    h[mi]-=x
if max(h)>b*y:
    print("No")
else:
    print("Yes")
0