摘要: Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by 阅读全文
posted @ 2018-09-21 22:53 hinata_hajime 阅读(157) 评论(0) 推荐(0) 编辑
摘要: For a decimal number x with n digits (A nA n-1A n-2 ... A 2A 1), we define its weight as F(x) = A n * 2 n-1 + A n-1 * 2 n-2 + ... + A 2 * 2 + A 1 * 1. 阅读全文
posted @ 2018-09-21 22:29 hinata_hajime 阅读(147) 评论(0) 推荐(0) 编辑