結果

問題 No.820 Power of Two
ユーザー masato-fullmoonmasato-fullmoon
提出日時 2019-07-26 16:32:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 133 bytes
コンパイル時間 846 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 818,192 KB
最終ジャッジ日時 2023-09-15 00:23:25
合計ジャッジ時間 3,429 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,840 KB
testcase_01 AC 15 ms
7,852 KB
testcase_02 MLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,input().split())
max_value = pow(2,N)
div = pow(2,K)
x = [i for i in range(1,max_value+1) if i%div == 0]
print(len(x))
0