結果

問題 No.2056 非力なレッド
ユーザー Akijin_007Akijin_007
提出日時 2022-08-26 21:54:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 469 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 87,292 KB
実行使用メモリ 104,640 KB
最終ジャッジ日時 2023-08-04 01:23:25
合計ジャッジ時間 5,865 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,268 KB
testcase_01 AC 67 ms
71,440 KB
testcase_02 AC 68 ms
71,300 KB
testcase_03 AC 67 ms
71,396 KB
testcase_04 AC 67 ms
71,268 KB
testcase_05 AC 67 ms
71,292 KB
testcase_06 AC 67 ms
71,392 KB
testcase_07 AC 68 ms
71,624 KB
testcase_08 AC 67 ms
71,368 KB
testcase_09 AC 69 ms
71,372 KB
testcase_10 AC 68 ms
71,456 KB
testcase_11 AC 69 ms
71,592 KB
testcase_12 AC 69 ms
71,400 KB
testcase_13 AC 97 ms
96,060 KB
testcase_14 AC 96 ms
95,936 KB
testcase_15 AC 96 ms
95,908 KB
testcase_16 AC 72 ms
76,396 KB
testcase_17 AC 87 ms
89,560 KB
testcase_18 AC 74 ms
76,816 KB
testcase_19 AC 74 ms
77,068 KB
testcase_20 AC 101 ms
101,828 KB
testcase_21 AC 77 ms
79,508 KB
testcase_22 AC 95 ms
96,000 KB
testcase_23 AC 93 ms
93,472 KB
testcase_24 AC 81 ms
84,048 KB
testcase_25 AC 104 ms
102,436 KB
testcase_26 AC 107 ms
104,640 KB
testcase_27 AC 103 ms
102,284 KB
testcase_28 AC 117 ms
100,360 KB
testcase_29 AC 116 ms
100,360 KB
testcase_30 AC 118 ms
100,616 KB
testcase_31 AC 117 ms
100,644 KB
testcase_32 AC 118 ms
100,636 KB
testcase_33 AC 119 ms
100,656 KB
testcase_34 AC 120 ms
100,604 KB
testcase_35 AC 121 ms
100,608 KB
testcase_36 AC 120 ms
100,480 KB
testcase_37 AC 120 ms
100,508 KB
testcase_38 AC 66 ms
71,288 KB
testcase_39 AC 67 ms
71,148 KB
testcase_40 AC 66 ms
71,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#int(input())
#map(int, input().split())
#list(map(int, input().split()))

N, X, M = map(int, input().split())
A = list(map(int, input().split()))

f = 0
for i in range(N):
    j = N-1-i
    while f == 0:
        if A[j] >= X:
            for k in range(j+1):
                A[k] = A[k] >> 1
            M -= j+1
        else:
            break
        if M < 0:
            f = 1
            break
        # print(A)

if f == 1:
    print("No")
else:
    print("Yes")
0