Skip to main content
Tweeted twitter.com/StackCodeGolf/status/818672405497397248
added 4 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
  • Comment if you have anything unclear about the challenge
  • Personally I would suggest your answer contains a explanation if you are using a golfing language
  • I'm wondering whether there is a formula that directly allows youThanks to calculate@GregMartin, read his answer for a good mathematical explanation for the resultchallenge.
  • Comment if you have anything unclear about the challenge
  • Personally I would suggest your answer contains a explanation if you are using a golfing language
  • I'm wondering whether there is a formula that directly allows you to calculate the result
  • Comment if you have anything unclear about the challenge
  • Personally I would suggest your answer contains a explanation if you are using a golfing language
  • Thanks to @GregMartin, read his answer for a good mathematical explanation for the challenge.
added 69 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25

Origami (folding paper) is a creative form of art. As far as I know, master of Origami prefers square paper. Let's start from beginning - convert a rectangular paper to a square one.

  • This is a code-golf so shortest code wins
  • Pay attention to standard loopholes
  • It's your freedom to decide how to readdeal with input and the output but they should follow standard restrictions.

Origami (folding paper) is a creative form of art. Let's start from beginning - convert a rectangular paper to a square one.

  • This is a code-golf so shortest code wins
  • Pay attention to standard loopholes
  • It's your freedom to decide how to read input and the output should follow standard restrictions.

Origami (folding paper) is a creative form of art. As far as I know, master of Origami prefers square paper. Let's start from beginning - convert a rectangular paper to a square one.

  • This is a code-golf so shortest code wins
  • Pay attention to standard loopholes
  • It's your freedom to decide how to deal with input and output but they should follow standard restrictions.
deleted 17 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
  • This is a code-golf so shortest code wins
  • Standard restrictions applyPay attention to standard loopholes
  • It's your freedom to decide how to read input and writethe output should follow standard restrictions.
  • This is a code-golf so shortest code wins
  • Standard restrictions apply
  • It's your freedom to decide how to read input and write output
  • This is a code-golf so shortest code wins
  • Pay attention to standard loopholes
  • It's your freedom to decide how to read input and the output should follow standard restrictions.
added 108 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
Loading
added 113 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
Loading
added 102 characters in body
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
Loading
Source Link
Keyu Gan
  • 2.2k
  • 12
  • 25
Loading