結果

問題 No.1235 ζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-31 01:17:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 777 ms / 2,000 ms
コード長 78 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 87,260 KB
実行使用メモリ 77,628 KB
最終ジャッジ日時 2023-09-29 09:37:50
合計ジャッジ時間 8,203 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,068 KB
testcase_01 AC 451 ms
74,572 KB
testcase_02 AC 165 ms
71,760 KB
testcase_03 AC 521 ms
74,528 KB
testcase_04 AC 74 ms
71,172 KB
testcase_05 AC 191 ms
71,968 KB
testcase_06 AC 105 ms
71,712 KB
testcase_07 AC 777 ms
77,628 KB
testcase_08 AC 218 ms
71,956 KB
testcase_09 AC 452 ms
73,952 KB
testcase_10 AC 472 ms
74,180 KB
testcase_11 AC 517 ms
75,000 KB
testcase_12 AC 224 ms
72,256 KB
testcase_13 AC 532 ms
75,324 KB
testcase_14 AC 159 ms
71,792 KB
testcase_15 AC 514 ms
75,072 KB
testcase_16 AC 75 ms
71,376 KB
testcase_17 AC 272 ms
72,260 KB
testcase_18 AC 110 ms
71,876 KB
testcase_19 AC 610 ms
75,708 KB
testcase_20 AC 108 ms
71,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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