X by ktt

for(i=x=readline();s="",i--;print(s+"X"))for(k=i*2,j=x<k?i:x-i-1;j--;)s+=(j==(k>x?k-x:x-k-2))?"X":" "

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

download

return to the top page