摘要: 突然想明白这是动态规划 class Solution { public: int numDecodings(string s) { int res[100]; memset(res,0,sizeof(res)); if(s[0]=='0') return 0; res[0]=1; if(s.leng 阅读全文
posted @ 2021-04-22 13:29 vdk 阅读(44) 评论(0) 推荐(0)