Timeline for We're no strangers to code golf, you know the rules, and so do I
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2016 at 18:53 | comment | added | ceilingcat |
Suggest u+l[c]>r?strncpy(m,t+o+(r-u)*c,c):w(r,c+1,u+l[c],o+l[c]*c) instead of u+l[c]<=r?w(r,c+1,u+l[c],o+l[c]*c):strncpy(m,t+o+(r-u)*c,c) and for(;*s;s++)printf(*s-32?"%s ":"\n",w(*s-35,1,0,0)); instead of while(*s!=0){printf(*s==' '?"\n":"%s ",w(*s-35,1,0,0));s++;} . Also you can combine string declarations to eliminate char several times.
|
|
Jun 3, 2012 at 10:04 | history | edited | Nick | CC BY-SA 3.0 |
added 11 characters in body
|
Jun 2, 2012 at 23:21 | history | answered | Nick | CC BY-SA 3.0 |