public static void partition(int[] a){
		if(a==null||a.length<=1)return;
		int i=-1,j=a.length;
		for(;;){
			while(++i<j &&(a[i]&0x01)!=0);
			while(--j>i && (a[j]&0x01)==0);
			if(i>=j)break;
			int tmp=a[i];
			a[i]=a[j];
			a[j]=tmp;
		}
	}