結果

問題 No.1273 はじめのζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-30 22:54:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 87,312 KB
実行使用メモリ 76,876 KB
最終ジャッジ日時 2023-09-29 07:58:23
合計ジャッジ時間 5,176 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
76,412 KB
testcase_01 AC 81 ms
76,436 KB
testcase_02 AC 86 ms
76,224 KB
testcase_03 AC 80 ms
76,244 KB
testcase_04 AC 79 ms
76,256 KB
testcase_05 AC 83 ms
76,592 KB
testcase_06 AC 80 ms
76,232 KB
testcase_07 AC 78 ms
76,228 KB
testcase_08 AC 79 ms
76,248 KB
testcase_09 AC 80 ms
76,588 KB
testcase_10 AC 82 ms
76,168 KB
testcase_11 AC 81 ms
76,720 KB
testcase_12 AC 78 ms
76,244 KB
testcase_13 AC 78 ms
76,072 KB
testcase_14 AC 78 ms
76,224 KB
testcase_15 AC 80 ms
76,332 KB
testcase_16 AC 77 ms
76,172 KB
testcase_17 AC 78 ms
76,340 KB
testcase_18 AC 79 ms
76,576 KB
testcase_19 AC 79 ms
76,048 KB
testcase_20 WA -
testcase_21 AC 77 ms
76,180 KB
testcase_22 AC 81 ms
76,316 KB
testcase_23 AC 80 ms
76,252 KB
testcase_24 AC 81 ms
76,344 KB
testcase_25 AC 81 ms
76,352 KB
testcase_26 AC 73 ms
71,496 KB
testcase_27 AC 73 ms
71,580 KB
testcase_28 AC 75 ms
71,392 KB
testcase_29 AC 74 ms
71,500 KB
testcase_30 AC 79 ms
75,952 KB
testcase_31 AC 79 ms
76,416 KB
testcase_32 AC 75 ms
71,452 KB
testcase_33 AC 80 ms
76,300 KB
testcase_34 AC 79 ms
76,212 KB
testcase_35 AC 81 ms
76,368 KB
testcase_36 AC 79 ms
76,216 KB
testcase_37 AC 79 ms
76,048 KB
testcase_38 AC 80 ms
76,064 KB
testcase_39 AC 79 ms
76,512 KB
testcase_40 AC 86 ms
76,708 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans = 0
x = int(input())
for i in range(x, 10**4+1):
  for j in range(2,10**5):
    a = pow(j,i)
    if a>10**15:
      break
    ans += 10**6/a
if x==2:
  ans += 1
print(int(ans))
0