摘要: 一、题目描述One day, WXYZ got a wooden stick, he wanted to split it into three sticks and make a right-angled triangle. You will be given the lengt... 阅读全文
posted @ 2016-06-15 23:42 chenximcm 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 一、题目描述假设一个字符串只由字符‘0’,‘1’,‘?’组成,其中字符‘?’表示该字符可由字符‘0’或‘1’替代。现有一些字符串,根据这些字符串生成所有可生成的字符串。如:{10,?1,0? }可生成{10,01,11,00}{101,001,?01}可生成{101,001}注意后... 阅读全文
posted @ 2016-06-15 23:21 chenximcm 阅读(430) 评论(0) 推荐(0) 编辑