結果

問題 No.1235 ζ関数
ユーザー convexineqconvexineq
提出日時 2021-03-30 05:41:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 731 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 866 ms
コンパイル使用メモリ 86,888 KB
実行使用メモリ 77,624 KB
最終ジャッジ日時 2023-08-20 02:43:15
合計ジャッジ時間 8,568 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,424 KB
testcase_01 AC 428 ms
74,396 KB
testcase_02 AC 152 ms
71,776 KB
testcase_03 AC 489 ms
74,576 KB
testcase_04 AC 69 ms
71,468 KB
testcase_05 AC 178 ms
72,188 KB
testcase_06 AC 97 ms
71,812 KB
testcase_07 AC 731 ms
77,624 KB
testcase_08 AC 208 ms
72,208 KB
testcase_09 AC 423 ms
73,852 KB
testcase_10 AC 442 ms
74,292 KB
testcase_11 AC 488 ms
74,612 KB
testcase_12 AC 211 ms
72,168 KB
testcase_13 AC 503 ms
75,424 KB
testcase_14 AC 151 ms
71,780 KB
testcase_15 AC 487 ms
74,956 KB
testcase_16 AC 70 ms
71,368 KB
testcase_17 AC 255 ms
72,252 KB
testcase_18 AC 102 ms
71,460 KB
testcase_19 AC 570 ms
75,568 KB
testcase_20 AC 103 ms
71,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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