编辑代码

import java.util.*;
class Main {
	public static void main(String[] args) {
        //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
		System.out.println("Hello world!   - java.jsrun.net ");
	}
    public static void InsertSort(int[] q,int i,int j)
    {
        for(int i = 1;i<q.length-1;i++)
        {
            int temp = a[i];
            int j = i
            while(j>=1&&temp<a[j-1])
            {
                a[j] = a[j-1];
                j--;
            }
            a[j] = temp;
        }
    }
}