摘要: S(1)=B S(2)=BBD S(3)=BBDBBDD S(n)=S(n−1)+B+reverse(flip(S(n−1)) 其中,reverse(s)指将字符串翻转,比如reverse(BBD)=DBB,flip(s)指将字符串中的B替换为D,D替换为B,比如flip(BBD)=DDB。求:S( 阅读全文
posted @ 2017-08-09 17:18 小白的小白 阅读(233) 评论(0) 推荐(0) 编辑