結果

問題 No.1273 はじめのζ関数
ユーザー taiga000629taiga000629
提出日時 2020-11-06 21:10:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 200 bytes
コンパイル時間 804 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 76,968 KB
最終ジャッジ日時 2023-09-29 18:00:14
合計ジャッジ時間 5,414 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
76,900 KB
testcase_01 AC 84 ms
76,428 KB
testcase_02 AC 87 ms
76,704 KB
testcase_03 AC 89 ms
76,760 KB
testcase_04 AC 86 ms
76,588 KB
testcase_05 AC 72 ms
76,180 KB
testcase_06 AC 89 ms
76,720 KB
testcase_07 AC 83 ms
76,596 KB
testcase_08 AC 85 ms
76,588 KB
testcase_09 AC 86 ms
76,648 KB
testcase_10 AC 87 ms
76,788 KB
testcase_11 AC 73 ms
76,344 KB
testcase_12 AC 81 ms
76,588 KB
testcase_13 AC 89 ms
76,572 KB
testcase_14 AC 83 ms
76,592 KB
testcase_15 AC 86 ms
76,452 KB
testcase_16 AC 88 ms
76,592 KB
testcase_17 AC 92 ms
76,720 KB
testcase_18 AC 86 ms
76,508 KB
testcase_19 AC 89 ms
76,968 KB
testcase_20 WA -
testcase_21 AC 77 ms
71,424 KB
testcase_22 AC 67 ms
71,240 KB
testcase_23 AC 70 ms
71,424 KB
testcase_24 AC 67 ms
71,416 KB
testcase_25 AC 70 ms
71,328 KB
testcase_26 AC 83 ms
71,708 KB
testcase_27 AC 85 ms
71,788 KB
testcase_28 AC 82 ms
71,788 KB
testcase_29 AC 84 ms
71,808 KB
testcase_30 AC 78 ms
71,500 KB
testcase_31 AC 67 ms
71,364 KB
testcase_32 AC 79 ms
71,468 KB
testcase_33 AC 72 ms
71,412 KB
testcase_34 AC 72 ms
71,344 KB
testcase_35 AC 69 ms
71,072 KB
testcase_36 AC 78 ms
71,520 KB
testcase_37 AC 82 ms
71,828 KB
testcase_38 AC 75 ms
71,284 KB
testcase_39 AC 74 ms
71,088 KB
testcase_40 AC 74 ms
76,140 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

print(int(ans)//10**12)



0