結果
| 問題 | No.820 Power of Two |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-01-25 08:49:12 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 128 bytes |
| 記録 | |
| コンパイル時間 | 371 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,324 KB |
| 最終ジャッジ日時 | 2026-04-04 10:02:39 |
| 合計ジャッジ時間 | 4,550 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 7 |
ソースコード
n, k = map(int, input().split())
cnt = 0
for i in range(1, 2 ** n + 1):
if i % (2 ** k) == 0:
cnt += 1
print(cnt)