package leetcode;

import java.util.List;

/**
 * https://leetcode.com/problems/ambiguous-coordinates/
 */
public class Problem816 {
    public List<String> ambiguousCoordinates(String S) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem816 prob = new Problem816();
        System.out.println(prob.ambiguousCoordinates("(123)")); // "(1, 23)", "(12, 3)", "(1.2, 3)", "(1, 2.3)"
        System.out.println(prob.ambiguousCoordinates("(00011)")); // "(0.001, 1)", "(0, 0.011)"
        System.out.println(prob.ambiguousCoordinates("(0123)")); // "(0, 123)", "(0, 12.3)", "(0, 1.23)", "(0.1, 23)", "(0.1, 2.3)", "(0.12, 3)"
        System.out.println(prob.ambiguousCoordinates("(100)")); // "(10, 0)"
    }
}

@@ -12,16 +12,44 @@
 tcode;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -227,16 +227,377 @@
 // TODO%0A
+        List%3CString%3E result = new ArrayList%3C%3E();%0A        for (int i = 2; i %3C S.length() - 1; i++) %7B%0A            String first = S.substring(1, i);%0A            String second = S.substring(i, S.length() - 1);%0A%0A            System.out.println(first + %22 -%3E %22 + second);%0A        %7D%0A        return result;%0A    %7D%0A%0A    private static List%3CString%3E makeDecimals(String s) %7B%0A
         
@@ -701,24 +701,26 @@
 oblem816();%0A
+//
         Syst
@@ -915,16 +915,18 @@
 0.011)%22%0A
+//
         
@@ -1058,24 +1058,26 @@
 %22(0.12, 3)%22%0A
+//
         Syst

Update problem 816