Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 7 characters in body
Source Link
Galen Ivanov
  • 21.5k
  • 3
  • 26
  • 62

Red, (削除) 87 (削除ここまで) 79(削除) 79 (削除ここまで) 78 bytes

func[b][c: 0 while[b/2 <>> 2][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online! Try it online!

Red, (削除) 87 (削除ここまで) 79 bytes

func[b][c: 0 while[b/2 <> 2][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online!

Red, (削除) 87 (削除ここまで) (削除) 79 (削除ここまで) 78 bytes

func[b][c: 0 while[b/2 > 2][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online!

deleted 8 characters in body
Source Link
Galen Ivanov
  • 21.5k
  • 3
  • 26
  • 62

Red, 87(削除) 87 (削除ここまで) 79 bytes

func[b][c: 0 while[b/2 <> sort copy b][c2][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online! Try it online!

Red, 87 bytes

func[b][c: 0 while[b <> sort copy b][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online!

Red, (削除) 87 (削除ここまで) 79 bytes

func[b][c: 0 while[b/2 <> 2][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online!

Source Link
Galen Ivanov
  • 21.5k
  • 3
  • 26
  • 62

Red, 87 bytes

func[b][c: 0 while[b <> sort copy b][c: c + 1 b: append extract b 2 extract next b 2]c]

Try it online!

AltStyle によって変換されたページ (->オリジナル) /