結果

問題 No.1273 はじめのζ関数
ユーザー chineristACchineristAC
提出日時 2020-10-30 21:52:02
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
AC  
実行時間 212 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 194 ms
使用メモリ 42,492 KB
最終ジャッジ日時 2023-02-21 12:16:23
合計ジャッジ時間 9,990 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 192 ms
42,116 KB
testcase_01 AC 192 ms
41,976 KB
testcase_02 AC 194 ms
41,764 KB
testcase_03 AC 194 ms
42,068 KB
testcase_04 AC 194 ms
41,932 KB
testcase_05 AC 193 ms
41,864 KB
testcase_06 AC 191 ms
41,904 KB
testcase_07 AC 191 ms
42,492 KB
testcase_08 AC 193 ms
42,404 KB
testcase_09 AC 191 ms
42,096 KB
testcase_10 AC 193 ms
41,760 KB
testcase_11 AC 192 ms
41,876 KB
testcase_12 AC 191 ms
41,860 KB
testcase_13 AC 196 ms
42,008 KB
testcase_14 AC 192 ms
41,800 KB
testcase_15 AC 192 ms
42,192 KB
testcase_16 AC 194 ms
41,880 KB
testcase_17 AC 195 ms
41,888 KB
testcase_18 AC 193 ms
42,056 KB
testcase_19 AC 194 ms
41,872 KB
testcase_20 AC 196 ms
41,884 KB
testcase_21 AC 209 ms
41,900 KB
testcase_22 AC 198 ms
41,908 KB
testcase_23 AC 200 ms
42,132 KB
testcase_24 AC 199 ms
41,888 KB
testcase_25 AC 199 ms
41,940 KB
testcase_26 AC 211 ms
41,932 KB
testcase_27 AC 211 ms
41,876 KB
testcase_28 AC 211 ms
41,820 KB
testcase_29 AC 212 ms
41,844 KB
testcase_30 AC 210 ms
41,864 KB
testcase_31 AC 201 ms
41,852 KB
testcase_32 AC 207 ms
41,880 KB
testcase_33 AC 201 ms
42,072 KB
testcase_34 AC 197 ms
41,856 KB
testcase_35 AC 194 ms
41,896 KB
testcase_36 AC 204 ms
41,748 KB
testcase_37 AC 209 ms
41,864 KB
testcase_38 AC 204 ms
42,148 KB
testcase_39 AC 202 ms
41,888 KB
testcase_40 AC 198 ms
41,768 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