public class Test {
public static int initVal = 0;
public static void main(String[] args) {
for (int i=0; i<=46654; i++){//46654
if (i % 10 == 0)
System.out.println();
//System.out.print(Long.toString(getData(), 36).toUpperCase() + ",");
System.out.println(addZeroForNum(Long.toString(getData(), 36).toUpperCase()));
}
}
public static int getData(){
return ++initVal;
}
public static String addZeroForNum(String str) {
int strLen = str.length();
StringBuffer sb = null;
while (strLen < 3) {
sb = new StringBuffer();
sb.append("0").append(str);// 左补0
str = sb.toString();
strLen = str.length();
}
return str;
}
}