摘要: Oleg writes down the history of the days he lived. For each day he decides if it was good or bad. Oleg calls a non-empty sequence of days a zebra, if 阅读全文
posted @ 2018-04-07 14:15 planche 阅读(208) 评论(0) 推荐(0)
摘要: For a permutation P[1... N] of integers from 1 to N, function f is defined as follows: Let g(i) be the minimum positive integer j such that f(i, j) =  阅读全文
posted @ 2018-04-07 14:13 planche 阅读(337) 评论(0) 推荐(0)
摘要: A dragon symbolizes wisdom, power and wealth. On Lunar New Year's Day, people model a dragon with bamboo strips and clothes, raise them with rods, and 阅读全文
posted @ 2018-04-07 14:09 planche 阅读(256) 评论(0) 推荐(0)