結果

問題 No.1273 はじめのζ関数
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2020-10-30 21:51:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 10,512 KB
実行使用メモリ 45,380 KB
最終ジャッジ日時 2023-09-29 05:55:28
合計ジャッジ時間 9,791 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 201 ms
45,280 KB
testcase_01 AC 204 ms
45,284 KB
testcase_02 AC 199 ms
45,256 KB
testcase_03 AC 198 ms
45,376 KB
testcase_04 AC 199 ms
45,180 KB
testcase_05 AC 202 ms
45,332 KB
testcase_06 AC 200 ms
45,248 KB
testcase_07 AC 197 ms
45,188 KB
testcase_08 AC 195 ms
45,164 KB
testcase_09 AC 197 ms
45,304 KB
testcase_10 AC 201 ms
45,380 KB
testcase_11 AC 198 ms
45,188 KB
testcase_12 AC 195 ms
45,184 KB
testcase_13 AC 197 ms
45,140 KB
testcase_14 AC 198 ms
45,140 KB
testcase_15 AC 196 ms
45,364 KB
testcase_16 AC 196 ms
45,252 KB
testcase_17 AC 195 ms
45,188 KB
testcase_18 AC 195 ms
45,140 KB
testcase_19 AC 201 ms
45,324 KB
testcase_20 WA -
testcase_21 AC 192 ms
45,164 KB
testcase_22 AC 199 ms
45,180 KB
testcase_23 AC 194 ms
45,128 KB
testcase_24 AC 193 ms
44,980 KB
testcase_25 AC 192 ms
45,052 KB
testcase_26 AC 192 ms
45,044 KB
testcase_27 AC 193 ms
45,136 KB
testcase_28 AC 199 ms
45,068 KB
testcase_29 AC 192 ms
45,016 KB
testcase_30 AC 195 ms
45,160 KB
testcase_31 AC 192 ms
44,884 KB
testcase_32 AC 190 ms
45,004 KB
testcase_33 AC 196 ms
45,076 KB
testcase_34 AC 194 ms
45,056 KB
testcase_35 AC 196 ms
45,184 KB
testcase_36 AC 194 ms
45,092 KB
testcase_37 AC 197 ms
45,048 KB
testcase_38 AC 194 ms
44,948 KB
testcase_39 AC 195 ms
44,952 KB
testcase_40 AC 197 ms
45,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.special import zeta, polygamma, factorial

x = int(input())

ans = 0

for i in range(x,2000):
    ans += (zeta(i)-1) * (10**6)

print (int(ans))
0