結果

問題 No.1273 はじめのζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-30 23:02:47
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 87,272 KB
実行使用メモリ 76,424 KB
最終ジャッジ日時 2023-09-29 08:06:21
合計ジャッジ時間 5,469 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
75,880 KB
testcase_01 AC 82 ms
75,900 KB
testcase_02 AC 81 ms
75,940 KB
testcase_03 AC 80 ms
75,812 KB
testcase_04 AC 81 ms
75,940 KB
testcase_05 AC 82 ms
76,144 KB
testcase_06 AC 80 ms
76,220 KB
testcase_07 AC 80 ms
75,976 KB
testcase_08 AC 85 ms
75,984 KB
testcase_09 AC 82 ms
75,960 KB
testcase_10 AC 80 ms
75,732 KB
testcase_11 AC 85 ms
76,424 KB
testcase_12 AC 80 ms
76,252 KB
testcase_13 AC 82 ms
75,908 KB
testcase_14 AC 83 ms
75,936 KB
testcase_15 AC 83 ms
75,964 KB
testcase_16 AC 83 ms
76,232 KB
testcase_17 AC 86 ms
76,144 KB
testcase_18 AC 83 ms
75,736 KB
testcase_19 AC 80 ms
76,164 KB
testcase_20 WA -
testcase_21 AC 76 ms
75,804 KB
testcase_22 AC 79 ms
75,956 KB
testcase_23 AC 78 ms
76,000 KB
testcase_24 AC 81 ms
75,664 KB
testcase_25 AC 77 ms
75,644 KB
testcase_26 AC 76 ms
71,180 KB
testcase_27 AC 75 ms
71,132 KB
testcase_28 AC 75 ms
71,140 KB
testcase_29 AC 74 ms
70,944 KB
testcase_30 AC 79 ms
75,788 KB
testcase_31 AC 79 ms
75,964 KB
testcase_32 AC 75 ms
71,088 KB
testcase_33 AC 78 ms
76,036 KB
testcase_34 AC 79 ms
76,180 KB
testcase_35 AC 82 ms
75,984 KB
testcase_36 AC 80 ms
76,184 KB
testcase_37 AC 84 ms
75,956 KB
testcase_38 AC 78 ms
75,796 KB
testcase_39 AC 79 ms
76,144 KB
testcase_40 AC 80 ms
76,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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