結果

問題 No.1273 はじめのζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-30 22:20:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 86,572 KB
実行使用メモリ 77,028 KB
最終ジャッジ日時 2023-09-29 06:39:12
合計ジャッジ時間 5,625 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
76,780 KB
testcase_01 AC 81 ms
75,688 KB
testcase_02 AC 83 ms
75,828 KB
testcase_03 AC 84 ms
75,744 KB
testcase_04 AC 79 ms
75,916 KB
testcase_05 AC 175 ms
77,028 KB
testcase_06 AC 81 ms
75,856 KB
testcase_07 AC 82 ms
75,744 KB
testcase_08 AC 80 ms
76,076 KB
testcase_09 AC 81 ms
75,892 KB
testcase_10 AC 79 ms
75,588 KB
testcase_11 AC 106 ms
76,768 KB
testcase_12 AC 81 ms
75,780 KB
testcase_13 AC 80 ms
75,716 KB
testcase_14 AC 82 ms
75,608 KB
testcase_15 AC 84 ms
76,048 KB
testcase_16 AC 81 ms
75,948 KB
testcase_17 AC 79 ms
76,044 KB
testcase_18 AC 81 ms
75,916 KB
testcase_19 AC 81 ms
75,828 KB
testcase_20 WA -
testcase_21 AC 78 ms
75,864 KB
testcase_22 AC 82 ms
75,744 KB
testcase_23 AC 81 ms
75,580 KB
testcase_24 AC 85 ms
76,080 KB
testcase_25 AC 82 ms
75,840 KB
testcase_26 AC 75 ms
70,848 KB
testcase_27 AC 76 ms
71,012 KB
testcase_28 AC 77 ms
71,136 KB
testcase_29 AC 75 ms
70,816 KB
testcase_30 AC 78 ms
75,740 KB
testcase_31 AC 81 ms
75,584 KB
testcase_32 AC 83 ms
70,940 KB
testcase_33 AC 89 ms
75,916 KB
testcase_34 AC 83 ms
75,832 KB
testcase_35 AC 83 ms
75,740 KB
testcase_36 AC 82 ms
75,864 KB
testcase_37 AC 80 ms
75,916 KB
testcase_38 AC 82 ms
75,796 KB
testcase_39 AC 79 ms
75,776 KB
testcase_40 AC 179 ms
76,664 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**20:
      break
    ans += 10**6/a
print(int(ans))
0