結果

問題 No.1273 はじめのζ関数
ユーザー marroncastlemarroncastle
提出日時 2020-10-30 23:01:12
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 77,484 KB
最終ジャッジ日時 2023-09-29 08:05:05
合計ジャッジ時間 5,485 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
76,476 KB
testcase_01 AC 73 ms
76,232 KB
testcase_02 AC 73 ms
76,232 KB
testcase_03 AC 73 ms
76,276 KB
testcase_04 AC 73 ms
76,332 KB
testcase_05 AC 74 ms
76,720 KB
testcase_06 AC 74 ms
76,028 KB
testcase_07 AC 74 ms
76,304 KB
testcase_08 AC 73 ms
76,460 KB
testcase_09 AC 72 ms
75,936 KB
testcase_10 AC 72 ms
75,936 KB
testcase_11 AC 76 ms
76,680 KB
testcase_12 AC 74 ms
76,404 KB
testcase_13 AC 73 ms
76,368 KB
testcase_14 AC 74 ms
76,368 KB
testcase_15 AC 73 ms
75,936 KB
testcase_16 AC 73 ms
76,272 KB
testcase_17 AC 76 ms
76,440 KB
testcase_18 AC 73 ms
76,336 KB
testcase_19 AC 74 ms
76,076 KB
testcase_20 WA -
testcase_21 AC 72 ms
76,228 KB
testcase_22 AC 73 ms
76,072 KB
testcase_23 AC 72 ms
76,308 KB
testcase_24 AC 74 ms
76,092 KB
testcase_25 AC 72 ms
76,344 KB
testcase_26 AC 68 ms
71,580 KB
testcase_27 AC 67 ms
71,076 KB
testcase_28 AC 68 ms
71,300 KB
testcase_29 AC 67 ms
71,468 KB
testcase_30 AC 72 ms
76,220 KB
testcase_31 AC 72 ms
76,212 KB
testcase_32 AC 69 ms
71,488 KB
testcase_33 AC 73 ms
76,332 KB
testcase_34 AC 76 ms
76,232 KB
testcase_35 AC 77 ms
76,256 KB
testcase_36 AC 71 ms
76,440 KB
testcase_37 AC 72 ms
76,352 KB
testcase_38 AC 75 ms
76,092 KB
testcase_39 AC 72 ms
76,164 KB
testcase_40 AC 77 ms
76,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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