結果

問題 No.2056 非力なレッド
ユーザー ikomaikoma
提出日時 2022-08-26 21:35:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 102,108 KB
最終ジャッジ日時 2024-04-21 23:34:40
合計ジャッジ時間 5,607 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
51,584 KB
testcase_01 AC 51 ms
51,712 KB
testcase_02 AC 50 ms
51,584 KB
testcase_03 AC 50 ms
51,968 KB
testcase_04 AC 51 ms
51,968 KB
testcase_05 AC 50 ms
51,840 KB
testcase_06 AC 50 ms
51,712 KB
testcase_07 AC 51 ms
51,584 KB
testcase_08 AC 51 ms
51,712 KB
testcase_09 AC 50 ms
52,096 KB
testcase_10 AC 50 ms
51,712 KB
testcase_11 AC 50 ms
51,840 KB
testcase_12 AC 51 ms
51,712 KB
testcase_13 AC 97 ms
89,728 KB
testcase_14 AC 96 ms
89,472 KB
testcase_15 AC 96 ms
89,472 KB
testcase_16 AC 60 ms
61,824 KB
testcase_17 AC 87 ms
80,256 KB
testcase_18 AC 59 ms
59,648 KB
testcase_19 AC 63 ms
62,336 KB
testcase_20 AC 106 ms
97,024 KB
testcase_21 AC 67 ms
66,304 KB
testcase_22 AC 97 ms
89,216 KB
testcase_23 AC 91 ms
85,248 KB
testcase_24 AC 74 ms
72,192 KB
testcase_25 AC 107 ms
97,536 KB
testcase_26 AC 115 ms
101,348 KB
testcase_27 AC 108 ms
97,772 KB
testcase_28 AC 136 ms
101,572 KB
testcase_29 AC 137 ms
101,884 KB
testcase_30 AC 137 ms
101,700 KB
testcase_31 AC 135 ms
102,016 KB
testcase_32 AC 137 ms
101,872 KB
testcase_33 AC 139 ms
101,888 KB
testcase_34 AC 137 ms
101,856 KB
testcase_35 AC 140 ms
102,108 KB
testcase_36 AC 135 ms
101,984 KB
testcase_37 AC 135 ms
101,800 KB
testcase_38 AC 51 ms
51,584 KB
testcase_39 AC 50 ms
51,712 KB
testcase_40 AC 50 ms
51,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

dv = 0
for i in range(N-1,-1,-1):
    a = A[i]
    a >>= dv
    while a>=X:
        dv+=1
        M-=i+1
        a>>=1
print("Yes" if M>=0 else "No")
0