摘要: In his spare time Vladik estimates beauty of the flags. Every flag could be represented as the matrix n × m which consists of positive integers. Let's 阅读全文
posted @ 2017-05-29 22:35 perplex 阅读(330) 评论(0) 推荐(0)
摘要: Vladik often travels by trains. He remembered some of his trips especially well and I would like to tell you about one of these trips: Vladik is at in 阅读全文
posted @ 2017-05-29 15:41 perplex 阅读(137) 评论(0) 推荐(0)
摘要: Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain consecutive 阅读全文
posted @ 2017-05-29 11:15 perplex 阅读(143) 评论(0) 推荐(0)