結果

問題 No.1273 はじめのζ関数
ユーザー taiga000629taiga000629
提出日時 2020-11-06 21:07:50
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 86,848 KB
実行使用メモリ 76,796 KB
最終ジャッジ日時 2023-09-29 17:59:59
合計ジャッジ時間 6,176 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
76,796 KB
testcase_01 AC 85 ms
76,476 KB
testcase_02 AC 90 ms
76,660 KB
testcase_03 AC 97 ms
76,568 KB
testcase_04 AC 89 ms
76,580 KB
testcase_05 AC 74 ms
76,232 KB
testcase_06 AC 94 ms
76,552 KB
testcase_07 AC 87 ms
76,420 KB
testcase_08 AC 90 ms
76,504 KB
testcase_09 AC 89 ms
76,680 KB
testcase_10 AC 90 ms
76,532 KB
testcase_11 AC 77 ms
76,260 KB
testcase_12 AC 88 ms
76,604 KB
testcase_13 AC 92 ms
76,576 KB
testcase_14 AC 88 ms
76,580 KB
testcase_15 AC 89 ms
76,576 KB
testcase_16 AC 88 ms
76,552 KB
testcase_17 AC 89 ms
76,568 KB
testcase_18 AC 90 ms
76,576 KB
testcase_19 AC 92 ms
76,672 KB
testcase_20 WA -
testcase_21 AC 84 ms
71,216 KB
testcase_22 AC 71 ms
71,224 KB
testcase_23 AC 73 ms
71,320 KB
testcase_24 AC 73 ms
71,304 KB
testcase_25 AC 73 ms
71,380 KB
testcase_26 AC 88 ms
71,736 KB
testcase_27 AC 88 ms
71,780 KB
testcase_28 AC 86 ms
71,720 KB
testcase_29 AC 86 ms
71,812 KB
testcase_30 AC 83 ms
71,068 KB
testcase_31 AC 75 ms
71,304 KB
testcase_32 AC 86 ms
71,656 KB
testcase_33 AC 75 ms
71,480 KB
testcase_34 AC 76 ms
71,528 KB
testcase_35 AC 71 ms
71,228 KB
testcase_36 AC 82 ms
71,092 KB
testcase_37 AC 85 ms
71,776 KB
testcase_38 AC 80 ms
71,452 KB
testcase_39 AC 78 ms
71,516 KB
testcase_40 AC 74 ms
76,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x=int(input())
ans=0
if 2<=x<=100:
    for k in range(2,10000):
        ans+=10**6/(k**(x-1)*(k-1))

else:
    for k in range(2,100):
        ans+=10**6/(k**(x-1)*(k-1))

print(int(ans))



0