結果

問題 No.2056 非力なレッド
ユーザー ニックネームニックネーム
提出日時 2022-08-26 21:31:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 253 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 32,640 KB
最終ジャッジ日時 2024-04-21 23:28:10
合計ジャッジ時間 6,015 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,752 KB
testcase_01 AC 30 ms
10,624 KB
testcase_02 AC 31 ms
10,624 KB
testcase_03 AC 33 ms
10,880 KB
testcase_04 AC 33 ms
10,624 KB
testcase_05 AC 31 ms
10,624 KB
testcase_06 AC 32 ms
10,752 KB
testcase_07 AC 32 ms
10,496 KB
testcase_08 AC 30 ms
10,624 KB
testcase_09 AC 30 ms
10,752 KB
testcase_10 AC 30 ms
10,624 KB
testcase_11 AC 31 ms
10,624 KB
testcase_12 AC 32 ms
10,624 KB
testcase_13 AC 140 ms
24,880 KB
testcase_14 AC 161 ms
24,512 KB
testcase_15 AC 138 ms
24,384 KB
testcase_16 AC 39 ms
12,032 KB
testcase_17 AC 114 ms
20,208 KB
testcase_18 AC 37 ms
11,264 KB
testcase_19 AC 48 ms
12,160 KB
testcase_20 AC 156 ms
27,308 KB
testcase_21 AC 62 ms
14,012 KB
testcase_22 AC 195 ms
24,316 KB
testcase_23 AC 199 ms
22,436 KB
testcase_24 AC 81 ms
16,900 KB
testcase_25 AC 162 ms
27,852 KB
testcase_26 AC 172 ms
29,264 KB
testcase_27 AC 164 ms
28,184 KB
testcase_28 AC 197 ms
32,636 KB
testcase_29 AC 195 ms
32,640 KB
testcase_30 AC 232 ms
32,508 KB
testcase_31 AC 196 ms
32,508 KB
testcase_32 AC 196 ms
32,460 KB
testcase_33 AC 234 ms
32,636 KB
testcase_34 AC 230 ms
32,508 KB
testcase_35 AC 200 ms
32,512 KB
testcase_36 AC 195 ms
32,516 KB
testcase_37 AC 253 ms
32,460 KB
testcase_38 AC 31 ms
10,880 KB
testcase_39 AC 32 ms
10,880 KB
testcase_40 AC 34 ms
10,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, x, m = map(int, input().split())
a = list(map(int, input().split()))
c = 0
for i in range(n-1, -1, -1):
    for _ in range(c): a[i] //= 2
    while a[i] >= x: a[i] //= 2; m -= i+1; c += 1
print("Yes" if m >= 0 else "No")
0