package tankan;
import tool.*;
import java.io.*;
public class pro {
int s,datanumber;
String[] data=new String[500000];
String[] name=new String[5000];
int[] code=new int[50000];
String[] bus=new String[500];
String[] size=new String[500];
String[] credit=new String[500];
String[] code_bus=new String[500];
String[] code_size=new String[500];
String[] code_credit=new String[500];
int number_bus,number_size,number_credit;
public static void main(String[] args) {
pro test=new pro();
}
pro(){
readfile sub=new readfile();
sub.makedata("bus.txt","SJIS");
bus=sub.data;
number_bus=sub.datanumber;
readfile sub2=new readfile();
sub2.makedata("size.txt","SJIS");
size=sub2.data;
number_size=sub2.datanumber;
readfile sub3=new readfile();
sub3.makedata("credit.txt","SJIS");
credit=sub3.data;
number_credit=sub3.datanumber;
for(s=1;s<number_credit+1;s++){
String[] x1=credit[s].split("△");
credit[s]=x1[1];
code_credit[s]=x1[0];
}
for(s=1;s<number_bus+1;s++){
String[] x2=bus[s].split("△");
bus[s]=x2[1];
code_bus[s]=x2[0];
}
for(s=1;s<number_size+1;s++){
String[] x2=size[s].split("△");
size[s]=x2[1];
code_size[s]=x2[0];
}
System.out.println(name(1,1,1));
}
String name(int b1,int c1,int s1){
String str="CO'COAEF";
str=str+code_bus[b1];
str=str+code_credit[c1];
str=str+"GCQ0";
str=str+code_size[s1];
str=str+"000@";
return str;
}
}
最終更新:2015年08月29日 21:10