摘要: 分析: 统计每一位1出现的个数,最后摸3求余数,1则置最终位为1 阅读全文
posted @ 2013-10-03 23:34 冰点猎手 阅读(252) 评论(0) 推荐(0) 编辑
摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message containing digits, determine the total number of ways to decode it.For example,Given encoded message "12", it 阅读全文
posted @ 2013-10-03 13:50 冰点猎手 阅读(177) 评论(0) 推荐(0) 编辑