用回溯算法来解决这个问题,需要注意的是一些细节,定义出什么时候认为是正确的答案; class Solution { private: string path = ""; vector<string> res; public: /** * * @param s string字符串 * @return string字符串vector */ vector<string> restoreIpAddresses(string s) { // write code here dfs(s, 0, 0, 0); return res; } void dfs(string s, int ...