hdu 5985 Lucky Coins【2016年ACM/ICPC青岛赛区 D】【数学公式】

NoSuchKey