結果

問題 No.1235 ζ関数
ユーザー tyawanmusityawanmusi
提出日時 2020-09-21 15:33:18
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 255 ms / 2,000 ms
コード長 56 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,468 KB
実行使用メモリ 8,412 KB
最終ジャッジ日時 2023-09-06 17:17:53
合計ジャッジ時間 3,082 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,860 KB
testcase_01 AC 151 ms
8,220 KB
testcase_02 AC 49 ms
8,168 KB
testcase_03 AC 171 ms
8,176 KB
testcase_04 AC 15 ms
7,744 KB
testcase_05 AC 55 ms
8,300 KB
testcase_06 AC 24 ms
7,908 KB
testcase_07 AC 255 ms
8,372 KB
testcase_08 AC 66 ms
8,092 KB
testcase_09 AC 145 ms
8,156 KB
testcase_10 AC 153 ms
8,240 KB
testcase_11 AC 168 ms
8,248 KB
testcase_12 AC 67 ms
8,044 KB
testcase_13 AC 172 ms
8,412 KB
testcase_14 AC 44 ms
8,104 KB
testcase_15 AC 167 ms
8,388 KB
testcase_16 AC 15 ms
7,664 KB
testcase_17 AC 84 ms
8,320 KB
testcase_18 AC 26 ms
7,932 KB
testcase_19 AC 200 ms
8,388 KB
testcase_20 AC 28 ms
7,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input());print(sum(1/i**n for i in range(1,2**5)))
0