結果

問題 No.1372 Median of Submasks
ユーザー 👑 tamatotamato
提出日時 2021-03-28 20:49:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 2,115 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 71,912 KB
最終ジャッジ日時 2023-08-19 15:50:23
合計ジャッジ時間 4,306 ms
ジャッジサーバーID
(参考情報)
judge10 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,728 KB
testcase_01 AC 72 ms
71,908 KB
testcase_02 AC 72 ms
71,560 KB
testcase_03 AC 72 ms
71,744 KB
testcase_04 AC 73 ms
71,828 KB
testcase_05 AC 71 ms
71,788 KB
testcase_06 AC 72 ms
71,680 KB
testcase_07 AC 72 ms
71,912 KB
testcase_08 AC 74 ms
71,868 KB
testcase_09 AC 74 ms
71,840 KB
testcase_10 AC 72 ms
71,892 KB
testcase_11 AC 74 ms
71,592 KB
testcase_12 AC 73 ms
71,776 KB
testcase_13 AC 73 ms
71,620 KB
testcase_14 AC 73 ms
71,780 KB
testcase_15 AC 73 ms
71,492 KB
testcase_16 AC 73 ms
71,584 KB
testcase_17 AC 71 ms
71,548 KB
testcase_18 AC 73 ms
71,636 KB
testcase_19 AC 73 ms
71,612 KB
testcase_20 AC 72 ms
71,492 KB
testcase_21 AC 72 ms
71,496 KB
testcase_22 AC 72 ms
71,552 KB
testcase_23 AC 71 ms
71,780 KB
testcase_24 AC 73 ms
71,556 KB
testcase_25 AC 72 ms
71,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    print(1 << (N.bit_length() - 1))


if __name__ == '__main__':
    main()
0