我想要下载诺基亚X6的双色球模拟摇奖器或者智能双色球模拟自动选号器,不知有没有这样的手机软件?
package com.talkweb;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
public class SSQ {
public static void main(String[] args) {
Random random1 = new Random();
Random random2 = new Random();
StringBuffer a1 = new StringBuffer("02091924253310");
StringBuffer a2 = new StringBuffer("16172428293212");
StringBuffer a = new StringBuffer("");
ArrayList h = new ArrayList(33);
ArrayList l = new ArrayList(16);
ArrayList h1 = new ArrayList();
ArrayList l1 = new ArrayList();
int aa[] = new int;
int mm[] = new int;
for (int i = 1; i < 34; i++) {
h.add("" + i);
}
// System.out.println(h.toString());
for (int j = 1; j < 17; j++) {
l.add("" + j);
}
// System.out.println(l.toString());
do {
do {
h1.clear();
h1.addAll(h);
int hh = 33;
// System.out.println(h1.toString());
a.delete(0, a.length());
for (int k = 1; k < 7; k++) {
int ii = random1.nextInt(hh) + 1;
// System.out.println(ii);
aa[k - 1] = Integer.parseInt((String) h1.get(ii - 1));
h1.remove(ii - 1);
hh--;
}
Arrays.sort(aa);
for (int i = 0; i < aa.length; i++) {
if (aa[i] < 10)
a.append("0" + aa[i]);
else
a.append("" + aa[i]);
}
int jj = random2.nextInt(16) + 1;
if (jj < 10) {
a.append("0" + jj);
} else
a.append("" + jj);
System.out.println(a.toString());
} while (!a.equals(a1));
h1.clear();
h1.addAll(h);
int hh = 33;
// System.out.println(h1.toString());
a.delete(0, a.length());
for (int k = 1; k < 7; k++) {
int ii = random1.nextInt(hh) + 1;
// System.out.println(ii);
aa[k - 1] = Integer.parseInt((String) h1.get(ii - 1));
h1.remove(ii - 1);
hh--;
}
Arrays.sort(aa);
for (int i = 0; i < aa.length; i++) {
if (aa[i] < 10)
a.append("0" + aa[i]);
else
a.append("" + aa[i]);
}
int jj = random2.nextInt(16) + 1;
if (jj < 10) {
a.append("0" + jj);
} else
a.append("" + jj);
System.out.println(a.toString());
} while (!a.equals(a2));
h1.clear();
h1.addAll(h);
int hh = 33;
// System.out.println(h1.toString());
a.delete(0, a.length());
for (int k = 1; k < 7; k++) {
int ii = random1.nextInt(hh) + 1;
// System.out.println(ii);
aa[k - 1] = Integer.parseInt((String) h1.get(ii - 1));
h1.remove(ii - 1);
hh--;
}
Arrays.sort(aa);
for (int i = 0; i < aa.length; i++) {
if (aa[i] < 10)
a.append("0" + aa[i]);
else
a.append("" + aa[i]);
}
int jj = random2.nextInt(16) + 1;
if (jj < 10) {
a.append("0" + jj);
} else
a.append("" + jj);
System.out.println(a.toString());
System.out.println("下期预测:————" + a.toString());
}
}
潋滟万千。你似曼
搜啊
呵呵