結果
| 問題 |
No.820 Power of Two
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-04 12:13:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 114 bytes |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 58,368 KB |
| 最終ジャッジ日時 | 2024-06-11 10:10:12 |
| 合計ジャッジ時間 | 8,489 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 |
ソースコード
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)