sort by hallvabo

import java.util.*;enum T{T;System Z;Scanner S=new Scanner(Z.in);int i,n=S.nextInt(),a[]=new int[n];{for(;i<n;)a[i++]=S.nextInt();for(Arrays.sort(a);i-->0;)Z.out.print(a[i]+" ");}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page