結果

問題 No.1273 はじめのζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-30 22:18:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 87,304 KB
実行使用メモリ 76,800 KB
最終ジャッジ日時 2023-09-29 06:36:32
合計ジャッジ時間 5,089 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
75,592 KB
testcase_01 AC 79 ms
75,776 KB
testcase_02 AC 77 ms
75,832 KB
testcase_03 AC 80 ms
75,608 KB
testcase_04 AC 80 ms
75,952 KB
testcase_05 AC 82 ms
76,208 KB
testcase_06 AC 79 ms
75,600 KB
testcase_07 AC 79 ms
75,848 KB
testcase_08 AC 78 ms
75,688 KB
testcase_09 AC 79 ms
75,828 KB
testcase_10 AC 78 ms
75,824 KB
testcase_11 AC 78 ms
76,044 KB
testcase_12 AC 77 ms
75,744 KB
testcase_13 AC 78 ms
75,560 KB
testcase_14 AC 77 ms
75,652 KB
testcase_15 AC 78 ms
75,944 KB
testcase_16 AC 78 ms
75,856 KB
testcase_17 AC 77 ms
75,864 KB
testcase_18 AC 77 ms
75,844 KB
testcase_19 AC 77 ms
76,048 KB
testcase_20 WA -
testcase_21 AC 78 ms
75,828 KB
testcase_22 AC 78 ms
75,584 KB
testcase_23 AC 79 ms
75,860 KB
testcase_24 AC 78 ms
75,744 KB
testcase_25 AC 77 ms
75,776 KB
testcase_26 AC 70 ms
70,912 KB
testcase_27 AC 71 ms
70,944 KB
testcase_28 AC 73 ms
70,936 KB
testcase_29 AC 72 ms
71,116 KB
testcase_30 AC 75 ms
76,036 KB
testcase_31 AC 76 ms
76,092 KB
testcase_32 AC 74 ms
70,936 KB
testcase_33 AC 78 ms
75,740 KB
testcase_34 AC 78 ms
75,916 KB
testcase_35 AC 77 ms
75,844 KB
testcase_36 AC 75 ms
75,632 KB
testcase_37 AC 76 ms
75,604 KB
testcase_38 AC 75 ms
75,948 KB
testcase_39 AC 77 ms
75,692 KB
testcase_40 AC 81 ms
76,212 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**12:
      break
    ans += 10**6/a
print(int(ans))
0