結果

問題 No.2056 非力なレッド
ユーザー rlangevinrlangevin
提出日時 2023-01-10 23:07:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 474 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 104,464 KB
最終ジャッジ日時 2023-08-23 10:26:21
合計ジャッジ時間 7,646 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,472 KB
testcase_01 AC 69 ms
71,276 KB
testcase_02 AC 69 ms
71,600 KB
testcase_03 AC 70 ms
71,172 KB
testcase_04 AC 69 ms
71,132 KB
testcase_05 AC 71 ms
71,212 KB
testcase_06 AC 70 ms
71,296 KB
testcase_07 AC 70 ms
71,280 KB
testcase_08 AC 70 ms
71,280 KB
testcase_09 AC 71 ms
71,412 KB
testcase_10 AC 68 ms
71,012 KB
testcase_11 AC 70 ms
71,204 KB
testcase_12 AC 71 ms
71,016 KB
testcase_13 AC 101 ms
96,164 KB
testcase_14 AC 98 ms
96,304 KB
testcase_15 AC 96 ms
95,992 KB
testcase_16 AC 75 ms
76,440 KB
testcase_17 AC 90 ms
89,392 KB
testcase_18 AC 75 ms
76,492 KB
testcase_19 AC 80 ms
76,648 KB
testcase_20 AC 106 ms
101,856 KB
testcase_21 AC 82 ms
79,340 KB
testcase_22 AC 99 ms
96,296 KB
testcase_23 AC 96 ms
93,612 KB
testcase_24 AC 86 ms
83,776 KB
testcase_25 AC 108 ms
102,196 KB
testcase_26 AC 110 ms
104,464 KB
testcase_27 AC 107 ms
101,880 KB
testcase_28 AC 122 ms
100,680 KB
testcase_29 AC 122 ms
100,328 KB
testcase_30 AC 122 ms
100,528 KB
testcase_31 AC 120 ms
100,612 KB
testcase_32 AC 122 ms
100,680 KB
testcase_33 AC 123 ms
100,544 KB
testcase_34 AC 121 ms
100,332 KB
testcase_35 AC 123 ms
100,288 KB
testcase_36 AC 121 ms
100,520 KB
testcase_37 AC 122 ms
100,480 KB
testcase_38 AC 71 ms
71,424 KB
testcase_39 AC 69 ms
71,448 KB
testcase_40 AC 67 ms
71,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, X, M = map(int, input().split())
A = list(map(int, input().split()))
for i in range(N - 1, -1, -1):
    while A[i] >= X:
        for j in range(i + 1):
            A[j] //= 2
        M -= i + 1
        if M < 0:
            print("No")
            exit()
print("Yes")    
0