@@ -0,0 +1,827 @@
+/**%0A * Company%0A * Copyright (C) 2014-2017 All Rights Reserved.%0A */%0Apackage com.cwenao.trying;%0A%0A/**%0A * @author cwenao%0A * @version $Id SortBinaryArray.java, v 0.1 2017-06-28 0:10 cwenao Exp $$%0A */%0Apublic class SortBinaryArray %7B%0A%0A%0A    private static void sort(int%5B%5D sortArray) %7B%0A        int pivot = 1;%0A        int achok = 0;%0A        for (int i =0 ;i%3CsortArray.length;i++) %7B%0A            if (sortArray%5Bi%5D %3C pivot) %7B%0A                int tmp = sortArray%5Bi%5D;%0A                sortArray%5Bi%5D = sortArray%5Bachok%5D;%0A                sortArray%5Bachok%5D = tmp;%0A                achok++;%0A            %7D%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        int%5B%5D sortArray = %7B0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1%7D;%0A        sort(sortArray);%0A        for (int x : sortArray) %7B%0A            System.out.println(x);%0A        %7D%0A%0A    %7D%0A%0A%0A%7D%0A%0A

add the 3th