Count diamonds level 3 by nu

*p;main(r,a){for(;read(r=0,p=a,454);printf("%d\n",r))for(;p=strstr(p+1,"* *");)p[21]+=++r;}

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

download

return to the top page