結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 424 ms
45,288 KB
testcase_01 AC 429 ms
45,300 KB
testcase_02 AC 411 ms
45,396 KB
testcase_03 AC 425 ms
45,268 KB
testcase_04 AC 429 ms
45,368 KB
testcase_05 AC 420 ms
45,316 KB
testcase_06 AC 428 ms
45,360 KB
testcase_07 AC 432 ms
45,416 KB
testcase_08 AC 437 ms
45,276 KB
testcase_09 AC 425 ms
45,336 KB
testcase_10 AC 426 ms
45,160 KB
testcase_11 AC 435 ms
45,256 KB
testcase_12 AC 424 ms
45,280 KB
testcase_13 AC 433 ms
45,196 KB
testcase_14 AC 431 ms
45,328 KB
testcase_15 AC 423 ms
45,148 KB
testcase_16 AC 429 ms
45,244 KB
testcase_17 AC 435 ms
45,452 KB
testcase_18 AC 429 ms
45,296 KB
testcase_19 AC 425 ms
45,208 KB
testcase_20 WA -
testcase_21 AC 402 ms
45,304 KB
testcase_22 AC 420 ms
45,420 KB
testcase_23 AC 415 ms
45,252 KB
testcase_24 AC 421 ms
45,296 KB
testcase_25 AC 423 ms
45,184 KB
testcase_26 AC 408 ms
45,364 KB
testcase_27 AC 406 ms
45,336 KB
testcase_28 AC 407 ms
45,160 KB
testcase_29 AC 405 ms
45,380 KB
testcase_30 AC 405 ms
45,124 KB
testcase_31 AC 413 ms
45,244 KB
testcase_32 AC 408 ms
45,364 KB
testcase_33 AC 411 ms
45,136 KB
testcase_34 AC 414 ms
45,120 KB
testcase_35 AC 414 ms
45,272 KB
testcase_36 AC 410 ms
45,388 KB
testcase_37 AC 404 ms
45,352 KB
testcase_38 AC 412 ms
45,344 KB
testcase_39 AC 405 ms
45,156 KB
testcase_40 AC 425 ms
45,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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