結果

問題 No.2056 非力なレッド
ユーザー tassei903tassei903
提出日時 2022-08-26 21:54:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 2,000 ms
コード長 517 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 102,124 KB
最終ジャッジ日時 2024-04-21 23:57:09
合計ジャッジ時間 4,277 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
53,168 KB
testcase_01 AC 40 ms
52,068 KB
testcase_02 AC 37 ms
52,396 KB
testcase_03 AC 39 ms
53,652 KB
testcase_04 AC 38 ms
53,540 KB
testcase_05 AC 38 ms
52,216 KB
testcase_06 AC 38 ms
53,280 KB
testcase_07 AC 37 ms
52,564 KB
testcase_08 AC 37 ms
52,800 KB
testcase_09 AC 39 ms
52,396 KB
testcase_10 AC 45 ms
52,464 KB
testcase_11 AC 38 ms
52,820 KB
testcase_12 AC 39 ms
52,400 KB
testcase_13 AC 73 ms
89,520 KB
testcase_14 AC 73 ms
89,472 KB
testcase_15 AC 73 ms
89,256 KB
testcase_16 AC 45 ms
61,312 KB
testcase_17 AC 62 ms
80,000 KB
testcase_18 AC 43 ms
59,648 KB
testcase_19 AC 45 ms
62,080 KB
testcase_20 AC 80 ms
97,024 KB
testcase_21 AC 48 ms
67,216 KB
testcase_22 AC 72 ms
89,216 KB
testcase_23 AC 68 ms
85,380 KB
testcase_24 AC 58 ms
72,448 KB
testcase_25 AC 80 ms
97,408 KB
testcase_26 AC 85 ms
101,796 KB
testcase_27 AC 81 ms
97,476 KB
testcase_28 AC 102 ms
102,036 KB
testcase_29 AC 102 ms
101,984 KB
testcase_30 AC 103 ms
102,040 KB
testcase_31 AC 102 ms
101,792 KB
testcase_32 AC 101 ms
101,868 KB
testcase_33 AC 102 ms
102,124 KB
testcase_34 AC 102 ms
101,940 KB
testcase_35 AC 100 ms
102,016 KB
testcase_36 AC 104 ms
101,808 KB
testcase_37 AC 103 ms
101,960 KB
testcase_38 AC 38 ms
52,932 KB
testcase_39 AC 38 ms
54,192 KB
testcase_40 AC 38 ms
52,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#######################################################################[
n,x,m = na()
a = na()
z = 1
ans = 0
for i in range(n-1,-1,-1):
    while a[i] // z >= x:
        z *= 2
        ans += i + 1
if ans <= m:
    Yes()
else:
    No()
0