結果

問題 No.354 メルセンヌ素数
ユーザー MarioMario
提出日時 2018-05-05 15:45:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 58 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 343,288 KB
最終ジャッジ日時 2023-09-10 10:33:54
合計ジャッジ時間 3,669 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,376 KB
testcase_01 AC 15 ms
7,860 KB
testcase_02 AC 15 ms
7,748 KB
testcase_03 AC 15 ms
7,792 KB
testcase_04 AC 16 ms
7,884 KB
testcase_05 AC 16 ms
7,744 KB
testcase_06 AC 19 ms
8,296 KB
testcase_07 AC 29 ms
9,288 KB
testcase_08 AC 129 ms
19,852 KB
testcase_09 AC 468 ms
54,888 KB
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

print(sum(map(int, list(bin(2 ** int(input()) - 1))[2:])))
0