sandglass by samuimo

char s[99],t[],n;main(j,k){for(j=n=strlen(gets(s));j--;puts(t))for(k=n;k--;)t[k]=k==1|k==n-2|n-j-2<k&k<=j|j<=k&k<n-j?s[k]:32;}

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

download

return to the top page