package base3;
import tool.*;
public class pro {
int s,datanumber;
String[] data=new String[5000];
String[] name=new String[5000];
String[] pos=new String[5000];
String[][] point=new String[5000][20];
int[] count=new int[60];
String[] subdata=new String[5000];
public static void main(String[] args) {
pro te=new pro();
}
pro(){
int tr;
for(tr=1;tr<484;tr++){
readfile sub=new readfile();
sub.makedata("visit_pp/"+tr+".txt","UTF-8");
data=sub.data;
datanumber=sub.datanumber;
int sx;
int n=0;
for(s=1;s<datanumber+1;s++){
String[] x=data[s].split(",");
for(sx=0;sx<x.length;sx++){
if(sx==0)name[s]=x[sx];
if(sx==1)pos[s]=x[sx];
if(sx>1)point[s][sx-1]=x[sx];
}
if(pos[s].indexOf("(")>-1)n=n+1;
count[s]=n;
}
int tx=0;
for(sx=1;sx<16;sx++){
for(s=1;s<datanumber+1;s++){
int h=0;
if(point[s][sx].indexOf("△")>-1)h=100;
if(h<50)tx=tx+1;
if(h<50)subdata[tx]=sx+","+count[s]+","+name[s]+","+count[s]+","+point[s][sx];
}
}
int subnumber=tx;
writefile sub77=new writefile();
sub77.data=subdata;
sub77.datanumber=subnumber;
sub77.makedata("visit_ppp/"+tr+".txt");
}
}
}
最終更新:2016年10月07日 09:33