data order by wiz

import java.util.*;enum _{_;int n,i;{List d,l=new Stack();try{for(;(i=System.in.read())>0;n=i<11&&l.add(-n)?0:n*10+i);Collections.sort(d=new Vector(l));for(Object o:l)System.out.println(d.indexOf(o)+1);}catch(Exception e){}}}

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

download

return to the top page