結果

問題 No.2056 非力なレッド
ユーザー SidewaysOwlSidewaysOwl
提出日時 2022-08-26 21:28:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 141 ms / 2,000 ms
コード長 240 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 86,724 KB
実行使用メモリ 104,620 KB
最終ジャッジ日時 2023-08-04 00:50:02
合計ジャッジ時間 6,228 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,348 KB
testcase_01 AC 72 ms
71,256 KB
testcase_02 AC 72 ms
71,272 KB
testcase_03 AC 72 ms
71,424 KB
testcase_04 AC 72 ms
71,176 KB
testcase_05 AC 72 ms
71,332 KB
testcase_06 AC 71 ms
71,492 KB
testcase_07 AC 74 ms
71,116 KB
testcase_08 AC 72 ms
71,252 KB
testcase_09 AC 72 ms
71,184 KB
testcase_10 AC 73 ms
71,272 KB
testcase_11 AC 75 ms
71,424 KB
testcase_12 AC 72 ms
70,996 KB
testcase_13 AC 106 ms
96,180 KB
testcase_14 AC 116 ms
96,624 KB
testcase_15 AC 102 ms
96,040 KB
testcase_16 AC 80 ms
76,632 KB
testcase_17 AC 108 ms
89,764 KB
testcase_18 AC 81 ms
76,596 KB
testcase_19 AC 82 ms
76,836 KB
testcase_20 AC 109 ms
101,852 KB
testcase_21 AC 86 ms
79,464 KB
testcase_22 AC 110 ms
96,284 KB
testcase_23 AC 109 ms
93,300 KB
testcase_24 AC 89 ms
83,812 KB
testcase_25 AC 113 ms
101,828 KB
testcase_26 AC 118 ms
104,620 KB
testcase_27 AC 115 ms
102,152 KB
testcase_28 AC 126 ms
100,520 KB
testcase_29 AC 130 ms
100,476 KB
testcase_30 AC 130 ms
100,344 KB
testcase_31 AC 128 ms
100,384 KB
testcase_32 AC 126 ms
100,384 KB
testcase_33 AC 132 ms
100,468 KB
testcase_34 AC 141 ms
100,552 KB
testcase_35 AC 128 ms
100,724 KB
testcase_36 AC 131 ms
100,336 KB
testcase_37 AC 139 ms
100,536 KB
testcase_38 AC 73 ms
71,168 KB
testcase_39 AC 74 ms
71,360 KB
testcase_40 AC 72 ms
71,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x,m = map(int,input().split())
a = list(map(int,input().split()))
ans = "Yes"
for i in range(n):
    cnt = 0
    j = a[i]
    while j >= x:
        cnt += 1
        j >>= 1
#     print(cnt,i+1)
    if cnt * (i+1) > m:ans = "No"
print(ans)
0