easy regexp by hinoe

char s[9][9][15],t[],c;f,i,k;main(j){for(;c=getchar(),~c;)c%63?c%62?c%91%40?c%93%41?s[i][j][k]=c,i+=!f,j+=f%2,k+=f/2:(j=1,f=k=!++i):(f+=91/c):(k=!++j):++**s[i-1];for(;~j;puts("")){for(j=-1;i+~j;c-1&&printf("%s",s[j][t[j]]))c=*s[++j][t[j]]?:!++t[j];for(;!*s[j][++t[j]]*~j;)for(k=j--;k<i;)t[k++]=0;}}

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

download

return to the top page