結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 220 ms
45,260 KB
testcase_01 AC 217 ms
45,296 KB
testcase_02 AC 217 ms
45,328 KB
testcase_03 AC 217 ms
45,328 KB
testcase_04 AC 218 ms
45,324 KB
testcase_05 AC 220 ms
45,244 KB
testcase_06 AC 220 ms
45,420 KB
testcase_07 AC 218 ms
45,368 KB
testcase_08 AC 216 ms
45,412 KB
testcase_09 AC 219 ms
45,332 KB
testcase_10 AC 220 ms
45,336 KB
testcase_11 AC 222 ms
45,424 KB
testcase_12 AC 224 ms
45,248 KB
testcase_13 AC 223 ms
45,300 KB
testcase_14 AC 224 ms
45,460 KB
testcase_15 AC 226 ms
45,392 KB
testcase_16 AC 222 ms
45,332 KB
testcase_17 AC 223 ms
45,300 KB
testcase_18 AC 222 ms
45,212 KB
testcase_19 AC 227 ms
45,416 KB
testcase_20 WA -
testcase_21 AC 224 ms
45,180 KB
testcase_22 AC 224 ms
45,252 KB
testcase_23 AC 224 ms
45,268 KB
testcase_24 AC 224 ms
45,284 KB
testcase_25 AC 225 ms
45,136 KB
testcase_26 AC 223 ms
45,084 KB
testcase_27 AC 224 ms
45,204 KB
testcase_28 AC 221 ms
45,212 KB
testcase_29 AC 223 ms
45,200 KB
testcase_30 AC 222 ms
45,012 KB
testcase_31 AC 220 ms
45,100 KB
testcase_32 AC 221 ms
45,216 KB
testcase_33 AC 224 ms
45,268 KB
testcase_34 AC 216 ms
45,136 KB
testcase_35 AC 218 ms
45,268 KB
testcase_36 AC 228 ms
45,128 KB
testcase_37 AC 222 ms
45,304 KB
testcase_38 AC 225 ms
45,208 KB
testcase_39 AC 226 ms
45,324 KB
testcase_40 AC 223 ms
45,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.special import zeta, polygamma, factorial

x = int(input())

ans = 0

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

print (int(ans))
0