結果

問題 No.1235 ζ関数
ユーザー hir355hir355
提出日時 2020-10-24 23:49:40
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 765 ms / 2,000 ms
コード長 85 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 86,900 KB
実行使用メモリ 77,436 KB
最終ジャッジ日時 2023-09-28 21:07:37
合計ジャッジ時間 7,822 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,192 KB
testcase_01 AC 446 ms
74,132 KB
testcase_02 AC 163 ms
71,584 KB
testcase_03 AC 512 ms
73,968 KB
testcase_04 AC 75 ms
71,348 KB
testcase_05 AC 186 ms
71,948 KB
testcase_06 AC 103 ms
71,600 KB
testcase_07 AC 765 ms
77,436 KB
testcase_08 AC 214 ms
72,028 KB
testcase_09 AC 442 ms
73,816 KB
testcase_10 AC 464 ms
73,748 KB
testcase_11 AC 507 ms
74,404 KB
testcase_12 AC 220 ms
72,188 KB
testcase_13 AC 521 ms
75,040 KB
testcase_14 AC 160 ms
71,696 KB
testcase_15 AC 507 ms
74,728 KB
testcase_16 AC 76 ms
71,300 KB
testcase_17 AC 269 ms
72,236 KB
testcase_18 AC 109 ms
71,636 KB
testcase_19 AC 597 ms
75,256 KB
testcase_20 AC 109 ms
71,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
for i in range(1, 100):
    ans += 1 / pow(i, n)
print(ans)
0