結果

問題 No.2056 非力なレッド
ユーザー 👑 rin204rin204
提出日時 2022-08-26 21:21:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 104,064 KB
最終ジャッジ日時 2024-04-21 23:15:14
合計ジャッジ時間 5,685 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
51,712 KB
testcase_01 AC 49 ms
51,712 KB
testcase_02 AC 49 ms
51,968 KB
testcase_03 AC 48 ms
51,840 KB
testcase_04 AC 48 ms
51,712 KB
testcase_05 AC 49 ms
52,224 KB
testcase_06 AC 48 ms
52,224 KB
testcase_07 AC 48 ms
51,712 KB
testcase_08 AC 48 ms
51,840 KB
testcase_09 AC 49 ms
51,968 KB
testcase_10 AC 49 ms
51,712 KB
testcase_11 AC 50 ms
51,712 KB
testcase_12 AC 49 ms
51,584 KB
testcase_13 AC 100 ms
90,880 KB
testcase_14 AC 105 ms
92,800 KB
testcase_15 AC 98 ms
90,624 KB
testcase_16 AC 59 ms
62,848 KB
testcase_17 AC 93 ms
83,200 KB
testcase_18 AC 64 ms
62,592 KB
testcase_19 AC 66 ms
64,000 KB
testcase_20 AC 108 ms
97,792 KB
testcase_21 AC 72 ms
69,252 KB
testcase_22 AC 105 ms
91,264 KB
testcase_23 AC 105 ms
88,048 KB
testcase_24 AC 74 ms
73,216 KB
testcase_25 AC 110 ms
98,432 KB
testcase_26 AC 120 ms
104,064 KB
testcase_27 AC 110 ms
98,904 KB
testcase_28 AC 131 ms
101,908 KB
testcase_29 AC 134 ms
102,040 KB
testcase_30 AC 138 ms
101,864 KB
testcase_31 AC 136 ms
101,888 KB
testcase_32 AC 140 ms
101,888 KB
testcase_33 AC 147 ms
101,888 KB
testcase_34 AC 147 ms
101,904 KB
testcase_35 AC 136 ms
102,016 KB
testcase_36 AC 137 ms
102,096 KB
testcase_37 AC 148 ms
101,888 KB
testcase_38 AC 50 ms
51,968 KB
testcase_39 WA -
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n, x, m = map(int, input().split())
A = list(map(int, input().split()))
ma = 0
for i, a in enumerate(A, 1):
    k = 0
    while a > x:
        a //= 2
        k += 1
    ma = max(ma, k * i)
if ma <= m:
    print("Yes")
else:
    print("No")
0