X by pooq

int i,j,a=stdin;for(;i<a;++i){for(j=0;j<=max(i,a-i-1);++j)write((j==a-i-1|j==i)?'X':' ',none);write();};

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

download

return to the top page