Sweety

Practice makes perfect

导航

2017年4月28日

摘要: 单身! 依然单身! 吉哥依然单身! DS级码农吉哥依然单身! 所以,他生平最恨情人节,不管是214还是77,他都讨厌! 吉哥观察了214和77这两个数,发现: 2+1+4=7 7+7=7*2 77=7*11 最终,他发现原来这一切归根到底都是因为和7有关!所以,他现在... 阅读全文

posted @ 2017-04-28 17:01 蓝空 阅读(162) 评论(0) 推荐(0) 编辑

摘要: Binary-coded decimal (BCD) is an encoding for decimal numbers in which each digit is represented by its own binary sequence. To encode a decimal n... 阅读全文

posted @ 2017-04-28 11:58 蓝空 阅读(153) 评论(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 +... 阅读全文

posted @ 2017-04-28 11:13 蓝空 阅读(194) 评论(0) 推荐(0) 编辑

摘要: G - B-number HDU - 3652 A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and ... 阅读全文

posted @ 2017-04-28 10:14 蓝空 阅读(97) 评论(0) 推荐(0) 编辑

摘要: A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a bo... 阅读全文

posted @ 2017-04-28 09:37 蓝空 阅读(148) 评论(0) 推荐(0) 编辑