結果
| 問題 |
No.820 Power of Two
|
| コンテスト | |
| ユーザー |
osrgy01
|
| 提出日時 | 2021-01-11 10:19:18 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 130 bytes |
| コンパイル時間 | 217 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 20,992 KB |
| 最終ジャッジ日時 | 2024-11-21 08:52:04 |
| 合計ジャッジ時間 | 13,005 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 TLE * 4 |
ソースコード
n,k=map(int,input().split())
t=2**k;cnt=0
if t==1:
print(2**n)
exit()
for i in range(1,2**n+1):
cnt+=i%t==0
print(cnt)
osrgy01