摘要: Problem DescriptionA peak number is defined as continuous digits {D0, D1 … Dn-1} (D0 > 0 and n >= 3), which exist Dm (0 Di+1 (m #incl... 阅读全文
posted @ 2016-04-06 21:57 Herumw 阅读(279) 评论(0) 推荐(0)
摘要: Consider the decimal presentation of an integer. Let's call a number d-magic if digit d appears in decimal presentation of the number ... 阅读全文
posted @ 2016-04-06 10:38 Herumw 阅读(248) 评论(0) 推荐(0)