結果

問題 No.820 Power of Two
ユーザー pypypymipypypymi
提出日時 2022-02-04 12:13:10
言語 PyPy3
(7.3.15)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 114 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 87,128 KB
実行使用メモリ 76,056 KB
最終ジャッジ日時 2023-09-02 03:30:58
合計ジャッジ時間 10,245 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,288 KB
testcase_01 AC 72 ms
71,412 KB
testcase_02 AC 1,967 ms
75,880 KB
testcase_03 AC 71 ms
71,448 KB
testcase_04 AC 72 ms
71,336 KB
testcase_05 TLE -
testcase_06 AC 74 ms
75,816 KB
testcase_07 AC 327 ms
76,056 KB
testcase_08 TLE -
testcase_09 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
count=0
for i in range(1,2**n+1):
    if i%(2**k)==0:
        count+=1
print(count)
0