rotate lines reversely by teebee

import java.util.*;enum L{L;System z;String[]l=new String[99];int i,j;{for(Scanner s=new Scanner(z.in);s.hasNext();l[i++]=s.nextLine());for(;j<i;)z.out.println(l[(j+++i-1)%i]);}}

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

download

return to the top page