結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,892 KB
testcase_01 AC 757 ms
8,308 KB
testcase_02 AC 187 ms
8,260 KB
testcase_03 AC 904 ms
8,408 KB
testcase_04 AC 15 ms
7,812 KB
testcase_05 AC 237 ms
8,308 KB
testcase_06 AC 70 ms
8,292 KB
testcase_07 AC 1,374 ms
8,612 KB
testcase_08 AC 301 ms
8,304 KB
testcase_09 AC 752 ms
8,248 KB
testcase_10 AC 800 ms
8,260 KB
testcase_11 AC 887 ms
8,532 KB
testcase_12 AC 314 ms
8,380 KB
testcase_13 AC 923 ms
8,280 KB
testcase_14 AC 179 ms
8,308 KB
testcase_15 AC 889 ms
8,484 KB
testcase_16 AC 15 ms
7,852 KB
testcase_17 AC 403 ms
8,248 KB
testcase_18 AC 80 ms
8,208 KB
testcase_19 AC 1,081 ms
8,528 KB
testcase_20 AC 79 ms
8,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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