結果

問題 No.1408 Nice Dice Game
ユーザー persimmon-persimmonpersimmon-persimmon
提出日時 2021-03-01 20:26:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 82,552 KB
実行使用メモリ 57,972 KB
最終ジャッジ日時 2024-04-14 03:48:10
合計ジャッジ時間 2,946 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
52,600 KB
testcase_01 AC 38 ms
52,952 KB
testcase_02 AC 36 ms
52,484 KB
testcase_03 AC 36 ms
52,688 KB
testcase_04 AC 37 ms
52,188 KB
testcase_05 AC 36 ms
51,880 KB
testcase_06 AC 36 ms
52,344 KB
testcase_07 AC 36 ms
53,924 KB
testcase_08 AC 36 ms
52,752 KB
testcase_09 AC 36 ms
51,944 KB
testcase_10 AC 39 ms
52,304 KB
testcase_11 AC 35 ms
52,828 KB
testcase_12 AC 36 ms
52,736 KB
testcase_13 AC 37 ms
52,248 KB
testcase_14 AC 36 ms
52,896 KB
testcase_15 AC 36 ms
52,728 KB
testcase_16 AC 36 ms
53,076 KB
testcase_17 AC 36 ms
52,920 KB
testcase_18 AC 36 ms
53,088 KB
testcase_19 AC 36 ms
52,276 KB
testcase_20 AC 36 ms
52,684 KB
testcase_21 AC 37 ms
52,332 KB
testcase_22 AC 37 ms
52,620 KB
testcase_23 AC 37 ms
52,436 KB
testcase_24 AC 38 ms
52,696 KB
testcase_25 AC 37 ms
53,380 KB
testcase_26 AC 36 ms
52,932 KB
testcase_27 AC 36 ms
53,264 KB
testcase_28 AC 36 ms
52,816 KB
testcase_29 AC 36 ms
53,148 KB
testcase_30 AC 36 ms
52,480 KB
testcase_31 AC 37 ms
52,804 KB
testcase_32 AC 37 ms
52,808 KB
testcase_33 AC 37 ms
51,944 KB
testcase_34 AC 36 ms
53,352 KB
testcase_35 AC 36 ms
52,540 KB
testcase_36 AC 40 ms
57,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main1(n):
  ret=0
  for i in range(1,10**5):
    a=pow(i,n+2)
    if a>10**10:
        break
    ret+=1/a
  return ret

if __name__=='__main__':
  n=int(input())
  ret1=main1(n)
  print(ret1)
0