MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / main

Function main

93. Restore IP Addresses/Solution.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44int main() {
45 Solution s;
46 auto x = s.restoreIpAddresses("25525511135");
47 // auto x = s.restoreIpAddresses("0000");
48
49 // auto x = s.restoreIpAddresses("010010");
50 for (auto i: x) {
51 cout << i << endl;
52 }
53}

Callers

nothing calls this directly

Calls 1

restoreIpAddressesMethod · 0.80

Tested by

no test coverage detected