結果

問題 No.1273 はじめのζ関数
ユーザー chineristACchineristAC
提出日時 2020-10-30 21:52:02
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 210 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 45,584 KB
最終ジャッジ日時 2023-09-29 05:56:00
合計ジャッジ時間 9,761 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 202 ms
45,392 KB
testcase_01 AC 194 ms
45,400 KB
testcase_02 AC 200 ms
45,404 KB
testcase_03 AC 194 ms
45,392 KB
testcase_04 AC 191 ms
45,488 KB
testcase_05 AC 189 ms
45,384 KB
testcase_06 AC 191 ms
45,476 KB
testcase_07 AC 194 ms
45,584 KB
testcase_08 AC 192 ms
45,524 KB
testcase_09 AC 192 ms
45,408 KB
testcase_10 AC 192 ms
45,380 KB
testcase_11 AC 195 ms
45,576 KB
testcase_12 AC 194 ms
45,396 KB
testcase_13 AC 192 ms
45,440 KB
testcase_14 AC 192 ms
45,368 KB
testcase_15 AC 194 ms
45,408 KB
testcase_16 AC 196 ms
45,432 KB
testcase_17 AC 192 ms
45,468 KB
testcase_18 AC 197 ms
45,348 KB
testcase_19 AC 191 ms
45,500 KB
testcase_20 AC 193 ms
45,340 KB
testcase_21 AC 206 ms
45,464 KB
testcase_22 AC 194 ms
45,416 KB
testcase_23 AC 202 ms
45,388 KB
testcase_24 AC 196 ms
45,428 KB
testcase_25 AC 202 ms
45,384 KB
testcase_26 AC 210 ms
45,308 KB
testcase_27 AC 208 ms
45,312 KB
testcase_28 AC 206 ms
45,448 KB
testcase_29 AC 208 ms
45,456 KB
testcase_30 AC 205 ms
45,396 KB
testcase_31 AC 196 ms
45,364 KB
testcase_32 AC 207 ms
45,388 KB
testcase_33 AC 196 ms
45,460 KB
testcase_34 AC 203 ms
45,504 KB
testcase_35 AC 193 ms
45,340 KB
testcase_36 AC 204 ms
45,428 KB
testcase_37 AC 208 ms
45,440 KB
testcase_38 AC 205 ms
45,420 KB
testcase_39 AC 199 ms
45,476 KB
testcase_40 AC 189 ms
45,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy
from scipy.special import zeta

res = 1

x = int(input())
for i in range(2,x):
    res -= zeta(i) - 1

print(int(res*10**6))
0