Skip to main content
syntax highlighting
Source Link

Ruby, 22 bytes - 25 bytes = -3 bytes

c=->n=2{p ?d*21*n}
c[]
c=->n=2{p ?d*21*n}
c[]

The reason the value shows up as 21 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2 (left paren and right paren).

Ruby, 22 bytes - 25 bytes = -3 bytes

c=->n=2{p ?d*21*n}
c[]

The reason the value shows up as 21 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2 (left paren and right paren).

Ruby, 22 bytes - 25 bytes = -3 bytes

c=->n=2{p ?d*21*n}
c[]

The reason the value shows up as 21 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2 (left paren and right paren).

removed parens
Source Link

Ruby, 2422 bytes - 25 bytes = -13 bytes

c=->n=2{p ?d*(24*n)d*21*n}
c[]

The reason the value shows up as 2421 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2 (left paren and right paren).

Ruby, 24 bytes - 25 bytes = -1 bytes

c=->n=2{p ?d*(24*n)}
c[]

The reason the value shows up as 24 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2.

Ruby, 22 bytes - 25 bytes = -3 bytes

c=->n=2{p ?d*21*n}
c[]

The reason the value shows up as 21 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2 (left paren and right paren).

Source Link

Ruby, 24 bytes - 25 bytes = -1 bytes

c=->n=2{p ?d*(24*n)}
c[]

The reason the value shows up as 24 bytes in the code itself is that the quotation marks are printed, effectively reducing the number of bytes I need to print by 2.