結果

問題 No.1273 はじめのζ関数
ユーザー KudeKude
提出日時 2020-10-30 21:38:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 89,148 KB
最終ジャッジ日時 2023-09-29 05:24:11
合計ジャッジ時間 14,818 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 364 ms
45,328 KB
testcase_01 AC 236 ms
45,260 KB
testcase_02 AC 240 ms
45,196 KB
testcase_03 AC 239 ms
45,160 KB
testcase_04 AC 244 ms
45,344 KB
testcase_05 AC 240 ms
45,148 KB
testcase_06 AC 243 ms
45,300 KB
testcase_07 AC 233 ms
45,240 KB
testcase_08 AC 236 ms
45,196 KB
testcase_09 AC 233 ms
45,344 KB
testcase_10 AC 236 ms
45,184 KB
testcase_11 AC 232 ms
45,252 KB
testcase_12 AC 230 ms
45,132 KB
testcase_13 AC 230 ms
45,300 KB
testcase_14 AC 234 ms
45,172 KB
testcase_15 AC 235 ms
45,376 KB
testcase_16 AC 233 ms
45,268 KB
testcase_17 AC 237 ms
45,216 KB
testcase_18 AC 242 ms
45,188 KB
testcase_19 AC 236 ms
45,344 KB
testcase_20 WA -
testcase_21 AC 227 ms
45,276 KB
testcase_22 AC 235 ms
45,136 KB
testcase_23 AC 231 ms
45,112 KB
testcase_24 AC 231 ms
45,328 KB
testcase_25 AC 229 ms
45,328 KB
testcase_26 AC 221 ms
45,340 KB
testcase_27 AC 219 ms
45,112 KB
testcase_28 AC 222 ms
45,312 KB
testcase_29 AC 224 ms
45,280 KB
testcase_30 AC 227 ms
45,280 KB
testcase_31 AC 233 ms
45,300 KB
testcase_32 AC 225 ms
45,276 KB
testcase_33 AC 234 ms
45,148 KB
testcase_34 AC 233 ms
45,168 KB
testcase_35 AC 230 ms
45,316 KB
testcase_36 AC 226 ms
45,252 KB
testcase_37 AC 223 ms
45,188 KB
testcase_38 AC 225 ms
45,288 KB
testcase_39 AC 225 ms
45,148 KB
testcase_40 AC 259 ms
89,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.special import zeta
x = int(input())
ans = 0
for i in range(x, 10000):
    ans += zeta(i) - 1
print(int(ans * 10 ** 6))
0