Skip to main content
9 events
when toggle format what by license comment
Aug 14, 2017 at 17:47 comment added Titus while(++$y<2*$n=$argn)echo"\n",str_pad("+",$n*2-1," +"[$y==$n],2); 66 bytes (and save one more with a physical linebreak)
Apr 12, 2017 at 12:16 history edited Jörg Hülsermann CC BY-SA 3.0
deleted 3 characters in body
Apr 12, 2017 at 12:00 comment added user59178 for(;$i<$c=-1+2*$m=$argn;)echo"\n".str_pad("+",$c," +"[$m==++$i],2);
Apr 12, 2017 at 9:50 comment added Jörg Hülsermann @user59178 I could not understand what you exactly mean
Apr 12, 2017 at 8:38 comment added user59178 You can save a few bytes by using $m=$argn and pre-incrementing $i rather than post incrementing it. you can also save a byte by moving the $m assignment ot the end and dropping the brackets.
Apr 11, 2017 at 21:03 review Low quality posts
Apr 11, 2017 at 21:06
Apr 11, 2017 at 21:01 history edited Jörg Hülsermann CC BY-SA 3.0
added 101 characters in body
Apr 11, 2017 at 17:11 review Low quality posts
Apr 11, 2017 at 17:16
Apr 11, 2017 at 16:52 history answered Jörg Hülsermann CC BY-SA 3.0