摘要: Bob has a not even coin(就是一个不均匀的硬币,朝上的概率不一定是1/2), every time he tosses the coin, the probability that the coin's front face up is q/p(q/p<=1/2). The q 阅读全文
posted @ 2017-09-17 09:37 ╰追憶似水年華ぃ╮ 阅读(634) 评论(3) 推荐(0)
摘要: 限制:1000ms 32768K Define the function S(x) for xx is a positive integer. S(x) equals to the sum of all digit of the decimal expression of x. Please fin 阅读全文
posted @ 2017-09-17 08:24 ╰追憶似水年華ぃ╮ 阅读(753) 评论(0) 推荐(0)