結果

問題 No.1408 Nice Dice Game
ユーザー 👑 KazunKazun
提出日時 2021-02-26 22:26:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 568 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 82,592 KB
実行使用メモリ 75,872 KB
最終ジャッジ日時 2024-04-10 13:10:32
合計ジャッジ時間 9,683 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 154 ms
75,608 KB
testcase_01 AC 39 ms
58,788 KB
testcase_02 AC 39 ms
59,448 KB
testcase_03 AC 355 ms
72,696 KB
testcase_04 AC 174 ms
71,292 KB
testcase_05 AC 65 ms
71,056 KB
testcase_06 AC 487 ms
74,168 KB
testcase_07 AC 533 ms
75,872 KB
testcase_08 AC 568 ms
75,628 KB
testcase_09 AC 523 ms
75,068 KB
testcase_10 AC 426 ms
73,992 KB
testcase_11 AC 434 ms
74,044 KB
testcase_12 AC 63 ms
71,004 KB
testcase_13 AC 333 ms
72,644 KB
testcase_14 AC 393 ms
73,664 KB
testcase_15 AC 556 ms
74,624 KB
testcase_16 AC 149 ms
70,980 KB
testcase_17 AC 125 ms
71,496 KB
testcase_18 AC 266 ms
71,992 KB
testcase_19 AC 488 ms
74,244 KB
testcase_20 AC 175 ms
71,224 KB
testcase_21 AC 62 ms
71,456 KB
testcase_22 AC 408 ms
73,000 KB
testcase_23 AC 365 ms
73,108 KB
testcase_24 AC 131 ms
71,028 KB
testcase_25 AC 543 ms
74,716 KB
testcase_26 AC 32 ms
53,024 KB
testcase_27 AC 153 ms
75,160 KB
testcase_28 AC 32 ms
52,732 KB
testcase_29 AC 33 ms
52,488 KB
testcase_30 AC 33 ms
53,132 KB
testcase_31 AC 33 ms
52,736 KB
testcase_32 AC 34 ms
52,640 KB
testcase_33 AC 32 ms
53,536 KB
testcase_34 AC 35 ms
52,800 KB
testcase_35 AC 32 ms
53,148 KB
testcase_36 AC 35 ms
58,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def Zeta(s):
    X=0
    T=100 if s>=10 else 10**5
    for k in range(1,T):
        X+=1/pow(k,s)
    return X

N=int(input())
print(Zeta(N+2))
0