Decode Ways
摘要:
class Solution {public: int numDecodings(string s) { // Start typing your C/C++ solution below // DO NOT write int main() function if(s==""||s[0]=='0') return 0; int count = s.length(); int pre = 1; int cur = 1; int code; for(int i = ... 阅读全文