PAT (Advanced Level) Practise 1067 Sort with Swap(0,*) (25)
1067.SortwithSwap(0,*)(25)时间限制150ms内存限制65536kB代码长度限制16000B判题程序Standard作者CHEN,YueGivenanypermutationofthenumbers{0,1,2,...,N-1},itiseasytosorttheminincreasingorder.ButwhatifSwap(0,*)istheONLYoperationt