結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 422 ms
45,120 KB
testcase_01 AC 434 ms
45,252 KB
testcase_02 AC 430 ms
45,164 KB
testcase_03 AC 429 ms
45,248 KB
testcase_04 AC 428 ms
45,120 KB
testcase_05 AC 422 ms
45,144 KB
testcase_06 AC 432 ms
45,048 KB
testcase_07 AC 435 ms
45,140 KB
testcase_08 AC 426 ms
45,064 KB
testcase_09 AC 421 ms
45,164 KB
testcase_10 AC 434 ms
45,096 KB
testcase_11 AC 433 ms
45,456 KB
testcase_12 AC 431 ms
45,236 KB
testcase_13 AC 439 ms
45,080 KB
testcase_14 AC 430 ms
45,288 KB
testcase_15 AC 429 ms
45,096 KB
testcase_16 AC 426 ms
45,072 KB
testcase_17 AC 429 ms
45,160 KB
testcase_18 AC 432 ms
45,168 KB
testcase_19 AC 430 ms
45,120 KB
testcase_20 WA -
testcase_21 AC 409 ms
45,168 KB
testcase_22 AC 424 ms
45,264 KB
testcase_23 AC 427 ms
44,988 KB
testcase_24 AC 426 ms
45,260 KB
testcase_25 AC 428 ms
45,260 KB
testcase_26 AC 407 ms
45,016 KB
testcase_27 AC 410 ms
45,148 KB
testcase_28 AC 422 ms
45,076 KB
testcase_29 AC 406 ms
45,264 KB
testcase_30 AC 413 ms
45,188 KB
testcase_31 AC 416 ms
45,068 KB
testcase_32 AC 412 ms
45,152 KB
testcase_33 AC 413 ms
45,232 KB
testcase_34 AC 413 ms
45,304 KB
testcase_35 AC 424 ms
45,076 KB
testcase_36 AC 415 ms
45,252 KB
testcase_37 AC 407 ms
45,072 KB
testcase_38 AC 419 ms
45,068 KB
testcase_39 AC 430 ms
45,036 KB
testcase_40 AC 437 ms
45,076 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)*pow(10,6) - pow(10,6)
  #temp *= pow(10,6)
  ans += temp
ans = int(ans)
print(ans)
0