AT_tdpc_dice サイコロ

Description

[problemUrl]: https://atcoder.jp/contests/tdpc/tasks/tdpc_dice 入力は以下の形式で標準入力から与えられる。 > $ N $ $ D $ 答えを一行に出力せよ。絶対誤差が $ 10^{-6} $ 以下のとき正当と判定される。 ``` 2 6 ``` ``` 0.416666667 ``` ``` 3 2 ``` ``` 0.875000000 ```

Input Format

N/A

Output Format

N/A

Explanation/Hint

### Constraints サイコロを $ N $ 回振ったとき、出た目の積が $ D $ の倍数となる確率を求めよ。 - - - - - - - $ 1\