Skip to main content
Commonmark migration
Source Link

###GolfScript, 24 characters ###

GolfScript, 24 characters

~:&1.{.2$+&%.2$(|}do](-,

Next iteration of a GolfScript implementation. The second version now also handles 1 correctly. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.

###GolfScript, 24 characters ###

~:&1.{.2$+&%.2$(|}do](-,

Next iteration of a GolfScript implementation. The second version now also handles 1 correctly. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.

GolfScript, 24 characters

~:&1.{.2$+&%.2$(|}do](-,

Next iteration of a GolfScript implementation. The second version now also handles 1 correctly. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.

added 64 characters in body
Source Link
Howard
  • 23.6k
  • 2
  • 44
  • 83

###GolfScript, 24 characters ###

~:r;1&1.{.2$+r%2$+&%.2$(2$||}do],(-,

A first implementation inNext iteration of a GolfScript implementation. The second version now also handles 1 correctly. It became quite long but maybe someone can find a way to shorten this version. You can try above version onlinetry above version online.

###GolfScript, 24 characters ###

~:r;1.{.2$+r%.(2$|}do],(

A first implementation in GolfScript. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.

###GolfScript, 24 characters ###

~:&1.{.2$+&%.2$(|}do](-,

Next iteration of a GolfScript implementation. The second version now also handles 1 correctly. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.

Source Link
Howard
  • 23.6k
  • 2
  • 44
  • 83

###GolfScript, 24 characters ###

~:r;1.{.2$+r%.(2$|}do],(

A first implementation in GolfScript. It became quite long but maybe someone can find a way to shorten this version. You can try above version online.