結果

問題 No.2056 非力なレッド
ユーザー Akijin_007Akijin_007
提出日時 2022-08-26 21:54:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 2,000 ms
コード長 469 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 102,212 KB
最終ジャッジ日時 2024-04-21 23:57:23
合計ジャッジ時間 4,527 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
51,568 KB
testcase_01 AC 46 ms
51,840 KB
testcase_02 AC 41 ms
51,840 KB
testcase_03 AC 40 ms
51,840 KB
testcase_04 AC 40 ms
51,840 KB
testcase_05 AC 39 ms
51,968 KB
testcase_06 AC 39 ms
51,968 KB
testcase_07 AC 39 ms
51,968 KB
testcase_08 AC 39 ms
51,712 KB
testcase_09 AC 39 ms
51,968 KB
testcase_10 AC 39 ms
52,224 KB
testcase_11 AC 39 ms
51,968 KB
testcase_12 AC 39 ms
52,224 KB
testcase_13 AC 74 ms
90,240 KB
testcase_14 AC 74 ms
90,240 KB
testcase_15 AC 73 ms
89,984 KB
testcase_16 AC 46 ms
62,336 KB
testcase_17 AC 65 ms
80,640 KB
testcase_18 AC 47 ms
61,440 KB
testcase_19 AC 50 ms
63,744 KB
testcase_20 AC 80 ms
97,920 KB
testcase_21 AC 52 ms
67,456 KB
testcase_22 AC 75 ms
90,112 KB
testcase_23 AC 69 ms
86,100 KB
testcase_24 AC 55 ms
72,576 KB
testcase_25 AC 80 ms
97,920 KB
testcase_26 AC 84 ms
102,212 KB
testcase_27 AC 80 ms
98,176 KB
testcase_28 AC 98 ms
102,012 KB
testcase_29 AC 99 ms
101,580 KB
testcase_30 AC 104 ms
102,144 KB
testcase_31 AC 99 ms
101,888 KB
testcase_32 AC 99 ms
102,104 KB
testcase_33 AC 99 ms
101,852 KB
testcase_34 AC 100 ms
102,016 KB
testcase_35 AC 101 ms
101,920 KB
testcase_36 AC 100 ms
102,016 KB
testcase_37 AC 103 ms
101,532 KB
testcase_38 AC 40 ms
51,688 KB
testcase_39 AC 40 ms
51,840 KB
testcase_40 AC 40 ms
51,968 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