<commit_before>package Distribution_DMAT;

/**
 * Created by jiao.xue on 2017/03/16.
 */

import java.util.ArrayList;
import java.util.List;

public class Test {
    private static char[] is = new char[] { '1', '2', '4', '5', '6', '7', '8', '9','2'};
    private static int total;
    private static int m = 6;
    public static void main(String[] args) {
        List<Integer> iL = new ArrayList<Integer>();
        new Test().plzh("", iL,  m);
        System.out.println("total : " + total);
    }
    private void plzh(String s, List<Integer> iL, int m) {
        if(m == 0) {
            System.out.println(s);
            total++;
            return;
        }
        List<Integer> iL2;
        for(int i = 0; i < is.length; i++) {
            iL2 = new ArrayList<Integer>();
            iL2.addAll(iL);
            if(!iL.contains(i)) {
                String str = s + is[i];
                iL2.add(i);
                plzh(str, iL2, m-1);
            }
        }
    }
}
<commit_msg>03.16<commit_after>package Distribution_DMAT;

/**
 * Created by jiao.xue on 2017/03/16.
 */

import java.util.ArrayList;
import java.util.List;

public class Test {
    private static int a=3;
    public static char[] is=new char[a*3];


    //private static char[] is = new char[] { '1', '2', '4', '5', '6', '7', '8', '9','2'};

    private static int total;
    private static int m = 4;
    public static void main(String[] args) {


        for(int i=0;i<a*3;a++){
            is[i]=(char)('0'+i%(a*3)+1);

        }


        List<Integer> iL = new ArrayList<Integer>();
        new Test().plzh("", iL,  m);
        System.out.println("total : " + total);
    }
    private void plzh(String s, List<Integer> iL, int m) {
        if(m == 0) {
            System.out.println(s);
            total++;
            return;
        }
        List<Integer> iL2;
        for(int i = 0; i < is.length; i++) {
            iL2 = new ArrayList<Integer>();
            iL2.addAll(iL);
            if(!iL.contains(i)) {
                String str = s + is[i];
                iL2.add(i);
                plzh(str, iL2, m-1);
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.16946778711484595, 'fraction_numerical': 0.029411764705882353, 'mean_word_length': 1.7160963244613434, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '978480', 'n_tokens_mistral': 769, 'n_tokens_neox': 733, 'n_words': 184}