結果

問題 No.1235 ζ関数
ユーザー tyawanmusityawanmusi
提出日時 2020-09-21 15:31:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 506 ms / 2,000 ms
コード長 73 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 8,484 KB
最終ジャッジ日時 2023-09-06 17:17:43
合計ジャッジ時間 4,925 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 AC 273 ms
8,412 KB
testcase_02 AC 81 ms
8,220 KB
testcase_03 AC 330 ms
8,304 KB
testcase_04 AC 15 ms
7,668 KB
testcase_05 AC 94 ms
8,192 KB
testcase_06 AC 34 ms
7,832 KB
testcase_07 AC 506 ms
8,464 KB
testcase_08 AC 116 ms
8,288 KB
testcase_09 AC 276 ms
8,380 KB
testcase_10 AC 291 ms
8,388 KB
testcase_11 AC 324 ms
8,284 KB
testcase_12 AC 120 ms
8,196 KB
testcase_13 AC 334 ms
8,296 KB
testcase_14 AC 76 ms
8,112 KB
testcase_15 AC 323 ms
8,484 KB
testcase_16 AC 16 ms
7,736 KB
testcase_17 AC 154 ms
8,268 KB
testcase_18 AC 38 ms
7,904 KB
testcase_19 AC 387 ms
8,348 KB
testcase_20 AC 39 ms
7,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans=0
n=int(input())
for i in range(1,10*5):
    ans+=1/(i**n)
print(ans)
0