data order by hallvabo

class D{static{int c,i=0,j,k;int[]a=new int[300];for(java.util.Scanner S=new java.util.Scanner(System.in);S.hasNext();)a[i++]=S.nextInt();for(j=0;j<i;j++,System.out.println(c+1))for(c=k=0;k<i;k++)c+=a[j]<a[k]?1:0;}}

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

download

return to the top page