Problem D

Q: Implementation Details 中的 f(d) 是什麼意思?
A: 可以把所謂的「回傳值」想像成把 d 打到一個整數的函數,這裡用 f(d) 來表示,但忘記解釋了,特此提醒。