結果

問題 No.1273 はじめのζ関数
ユーザー marroncastle
提出日時 2020-10-30 22:54:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 82,024 KB
実行使用メモリ 73,196 KB
最終ジャッジ日時 2024-07-22 02:35:05
合計ジャッジ時間 3,243 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 39 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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