不要让昨天 占据你的今天 夏午晴天

夏午晴天

2017年3月20日

度熊全是由1构成的字符串

摘要: 度熊面前有一个全是由1构成的字符串,被称为全1序列。你可以合并任意相邻的两个1,从而形成一个新的序列。对于给定的一个全1序列,请计算根据以上方法,可以构成多少种不同的序列。 Input 这里包括多组测试数据,每组测试数据包含一个正整数N ,代表全1序列的长度。 1≤N≤200 Output 对于每组 阅读全文

posted @ 2017-03-20 17:56 夏晴天 阅读(241) 评论(0) 推荐(0) 编辑

Prime Ring Problem

摘要: Prime Ring Problem A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of num 阅读全文

posted @ 2017-03-20 17:17 夏晴天 阅读(127) 评论(0) 推荐(0) 编辑

导航

Live2D