X by murky-satyr

using Nemerle.IO;mutable n;scanf("%d",n);foreach(i in[1..n]){foreach(j in[1..if(i*2<n)n-i+1 else i])print(if(j==i||j==n-i+1)"X"else" ");print("\n")}

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

download

return to the top page