結果

問題 No.1408 Nice Dice Game
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-02-27 10:13:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 82,920 KB
実行使用メモリ 58,424 KB
最終ジャッジ日時 2024-04-10 15:18:13
合計ジャッジ時間 2,258 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,252 KB
testcase_01 AC 34 ms
51,948 KB
testcase_02 AC 34 ms
53,352 KB
testcase_03 AC 33 ms
52,696 KB
testcase_04 AC 31 ms
51,960 KB
testcase_05 AC 30 ms
53,912 KB
testcase_06 AC 31 ms
53,360 KB
testcase_07 AC 33 ms
53,188 KB
testcase_08 AC 32 ms
53,248 KB
testcase_09 AC 31 ms
52,572 KB
testcase_10 AC 31 ms
53,008 KB
testcase_11 AC 33 ms
52,740 KB
testcase_12 AC 34 ms
52,192 KB
testcase_13 AC 32 ms
52,396 KB
testcase_14 AC 31 ms
52,112 KB
testcase_15 AC 35 ms
52,424 KB
testcase_16 AC 32 ms
53,024 KB
testcase_17 AC 31 ms
52,960 KB
testcase_18 AC 32 ms
52,332 KB
testcase_19 AC 32 ms
52,528 KB
testcase_20 AC 31 ms
52,092 KB
testcase_21 AC 31 ms
52,140 KB
testcase_22 AC 31 ms
52,416 KB
testcase_23 AC 31 ms
52,488 KB
testcase_24 AC 31 ms
52,528 KB
testcase_25 AC 31 ms
52,200 KB
testcase_26 AC 31 ms
52,824 KB
testcase_27 AC 31 ms
52,704 KB
testcase_28 AC 33 ms
52,000 KB
testcase_29 AC 31 ms
52,560 KB
testcase_30 AC 31 ms
52,332 KB
testcase_31 AC 31 ms
53,060 KB
testcase_32 AC 31 ms
52,268 KB
testcase_33 AC 31 ms
52,164 KB
testcase_34 AC 30 ms
51,680 KB
testcase_35 AC 30 ms
52,284 KB
testcase_36 AC 34 ms
58,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

ans = 0
for i in range(1,10**5):
    a = pow(i,n+2)
    if a > 10**10:
        break
    ans += 1/a
print(ans)
0