結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
52,224 KB
testcase_01 AC 48 ms
52,096 KB
testcase_02 AC 48 ms
52,096 KB
testcase_03 AC 47 ms
52,096 KB
testcase_04 AC 48 ms
52,096 KB
testcase_05 AC 48 ms
51,816 KB
testcase_06 AC 50 ms
51,968 KB
testcase_07 AC 48 ms
51,840 KB
testcase_08 AC 47 ms
51,936 KB
testcase_09 AC 49 ms
51,712 KB
testcase_10 AC 49 ms
51,840 KB
testcase_11 AC 48 ms
51,840 KB
testcase_12 AC 49 ms
51,840 KB
testcase_13 AC 90 ms
90,600 KB
testcase_14 AC 90 ms
90,272 KB
testcase_15 AC 91 ms
89,984 KB
testcase_16 AC 57 ms
61,952 KB
testcase_17 AC 80 ms
81,448 KB
testcase_18 AC 57 ms
60,672 KB
testcase_19 AC 60 ms
64,128 KB
testcase_20 AC 99 ms
97,920 KB
testcase_21 AC 62 ms
67,232 KB
testcase_22 AC 90 ms
90,240 KB
testcase_23 AC 88 ms
85,896 KB
testcase_24 AC 69 ms
72,704 KB
testcase_25 AC 100 ms
98,156 KB
testcase_26 AC 105 ms
102,036 KB
testcase_27 AC 102 ms
98,628 KB
testcase_28 AC 124 ms
101,856 KB
testcase_29 AC 127 ms
101,956 KB
testcase_30 AC 127 ms
102,060 KB
testcase_31 AC 122 ms
102,180 KB
testcase_32 AC 124 ms
101,676 KB
testcase_33 AC 129 ms
101,680 KB
testcase_34 AC 126 ms
101,796 KB
testcase_35 AC 127 ms
102,104 KB
testcase_36 AC 124 ms
102,000 KB
testcase_37 AC 125 ms
102,132 KB
testcase_38 AC 47 ms
52,648 KB
testcase_39 WA -
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

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