結果
問題 | No.1372 Median of Submasks |
ユーザー |
![]() |
提出日時 | 2023-11-17 11:56:14 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 95 bytes |
コンパイル時間 | 205 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-09-26 05:21:32 |
合計ジャッジ時間 | 2,042 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 24 |
ソースコード
import math n = int(input()) cnt = 0 while n: n //= 2 cnt += 1 print(2 ** (cnt - 1))