sort numbers by croyal

System.in.withReader{
it.readLine()
l=it.readLine().split(' ')
s=[]
for(n in l){s+=[Integer.parseInt(n)]}
s.sort()
for(n in s){print"$n "}   
}

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

download

return to the top page