Duplicate characters by Roy van Rijn

class h{public static void main(String[]_)throws Exception{for(int c;0<(c=System.in.read());)System.out.printf("%c%c",c,c);}}

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

download

return top