結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,624 KB
testcase_01 AC 34 ms
10,624 KB
testcase_02 AC 35 ms
10,752 KB
testcase_03 AC 33 ms
10,624 KB
testcase_04 AC 31 ms
10,752 KB
testcase_05 AC 32 ms
10,752 KB
testcase_06 AC 32 ms
10,624 KB
testcase_07 AC 32 ms
10,752 KB
testcase_08 AC 33 ms
10,624 KB
testcase_09 AC 33 ms
10,752 KB
testcase_10 AC 33 ms
10,752 KB
testcase_11 AC 33 ms
10,624 KB
testcase_12 AC 33 ms
10,752 KB
testcase_13 AC 137 ms
24,884 KB
testcase_14 AC 161 ms
24,512 KB
testcase_15 AC 141 ms
24,404 KB
testcase_16 AC 42 ms
12,032 KB
testcase_17 AC 118 ms
20,212 KB
testcase_18 AC 36 ms
11,264 KB
testcase_19 AC 49 ms
12,160 KB
testcase_20 AC 164 ms
27,432 KB
testcase_21 AC 64 ms
13,884 KB
testcase_22 AC 196 ms
24,488 KB
testcase_23 AC 206 ms
22,432 KB
testcase_24 AC 82 ms
16,900 KB
testcase_25 AC 169 ms
27,888 KB
testcase_26 AC 178 ms
29,188 KB
testcase_27 AC 173 ms
28,308 KB
testcase_28 AC 208 ms
32,512 KB
testcase_29 AC 205 ms
32,640 KB
testcase_30 AC 234 ms
32,512 KB
testcase_31 AC 205 ms
32,640 KB
testcase_32 AC 209 ms
32,504 KB
testcase_33 AC 246 ms
32,768 KB
testcase_34 AC 230 ms
32,508 KB
testcase_35 AC 209 ms
32,768 KB
testcase_36 AC 207 ms
32,516 KB
testcase_37 AC 275 ms
32,640 KB
testcase_38 AC 33 ms
10,752 KB
testcase_39 WA -
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

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; c += 1; m -= i+1
print("Yes" if m >= 0 else "No")
0