选择排序 public class Solution { public void SelectSort(int[] R,int n) { int temp; int k; for(int i=0;i<n;i++) { k=i; for(int j=i+1;j<n;j++) { if(R[j]<R[k]) { k=j; } } temp=R[i]; R[i]=R[k]; R[k]=temp; } } public static void main(String[] args) { Solution s=new Solution(); int[] R={54,34,12,1...