結果
| 問題 | No.820 Power of Two |
| コンテスト | |
| ユーザー |
monburan_0401
|
| 提出日時 | 2019-05-04 02:47:05 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 368 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-06-06 08:19:35 |
| 合計ジャッジ時間 | 4,441 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 7 |
ソースコード
s = str(input())
s = s.split(" ")
n = int(s[0])
k = int(s[1])
num = 0
n = 2**n
k_now = 2**k
k = 2**k
while k_now <= n:
k_now += k
num += 1
print(num)
monburan_0401