結果

問題 No.1273 はじめのζ関数
ユーザー ygd.ygd.
提出日時 2020-10-30 22:47:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 45,624 KB
最終ジャッジ日時 2023-09-29 07:49:47
合計ジャッジ時間 12,234 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 230 ms
45,092 KB
testcase_22 AC 224 ms
45,032 KB
testcase_23 AC 228 ms
45,272 KB
testcase_24 AC 226 ms
45,140 KB
testcase_25 AC 230 ms
45,236 KB
testcase_26 AC 231 ms
45,076 KB
testcase_27 AC 230 ms
45,288 KB
testcase_28 AC 231 ms
45,084 KB
testcase_29 AC 228 ms
45,096 KB
testcase_30 AC 237 ms
44,984 KB
testcase_31 AC 224 ms
45,092 KB
testcase_32 AC 229 ms
45,068 KB
testcase_33 AC 226 ms
45,068 KB
testcase_34 AC 227 ms
45,036 KB
testcase_35 AC 231 ms
44,964 KB
testcase_36 AC 235 ms
45,044 KB
testcase_37 AC 234 ms
45,020 KB
testcase_38 AC 226 ms
45,080 KB
testcase_39 AC 226 ms
44,992 KB
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.special import zeta
x=int(input())
MAX = pow(10,3)
ans = 0
for n in range(x,MAX):
  temp = zeta(n) - 1
  temp *= pow(10,6)
  ans += temp
print(ans)
0