Skip to main content
added 276 characters in body
Source Link
Peter Taylor
  • 43.4k
  • 4
  • 72
  • 179

GolfScript (18 16 chars)

"),@`^^32>#.~".~ 

Online demo with an extra line which does a correctness check and outputs the number of characters in error.

(I have various equivalent alternatives. @`^ can be replaced with \\`; # can be replaced with ` or ]. The right combination can be used with Howard's trick to equal his score of 15 because backslashes don't need escaping in blocks the way they do in string literals: {),\`^32>].~}.~. But Howard deserves the credit for that trick).

GolfScript (18 16 chars)

"),@`^^32>#.~".~ 

Online demo with an extra line which does a correctness check and outputs the number of characters in error.

GolfScript (18 16 chars)

"),@`^^32>#.~".~ 

Online demo with an extra line which does a correctness check and outputs the number of characters in error.

(I have various equivalent alternatives. @`^ can be replaced with \\`; # can be replaced with ` or ]. The right combination can be used with Howard's trick to equal his score of 15 because backslashes don't need escaping in blocks the way they do in string literals: {),\`^32>].~}.~. But Howard deserves the credit for that trick).

added 241 characters in body
Source Link
Peter Taylor
  • 43.4k
  • 4
  • 72
  • 179

GolfScript (1818 16 chars)

"`'~'("),+32>\\-@`^^32>#."~".~ 

Online demo with an extra line which does a correctness check and outputs the number of characters in error.

GolfScript (18 chars)

"`'~'(,+32>\\-.".~ 

GolfScript (18 16 chars)

"),@`^^32>#.~".~ 

Online demo with an extra line which does a correctness check and outputs the number of characters in error.

Source Link
Peter Taylor
  • 43.4k
  • 4
  • 72
  • 179

GolfScript (18 chars)

"`'~'(,+32>\\-.".~