結果
問題 | No.820 Power of Two |
ユーザー | masato-fullmoon |
提出日時 | 2019-07-26 16:29:30 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
MLE
|
実行時間 | - |
コード長 | 101 bytes |
コンパイル時間 | 94 ms |
コンパイル使用メモリ | 10,628 KB |
実行使用メモリ | 812,404 KB |
最終ジャッジ日時 | 2023-09-15 00:23:14 |
合計ジャッジ時間 | 4,354 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 17 ms
7,928 KB |
testcase_01 | AC | 17 ms
7,816 KB |
testcase_02 | MLE | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
ソースコード
N,K = map(int,input().split()) x = [i for i in range(1,pow(2,N)+1) if i%pow(2,K) == 0] print(len(x))