inta[1005];for(inti=1;i<=1000;++i)a[i]=i;//现在a[1] = 1, a[2] = 2, a[3] = 3, a[4] = 4 .... a[999] = 999, a[1000] = 1000