Quest 4: Teeth of the Wind

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

Link to participate: https://everybody.codes/

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 11 months ago

Uiua

Fortunately the ratios for the common gears all proved to be rational in part 3.

βŒŠΓ—2025/÷⊏¯1_0[128 64 32 16 8]              # ->32400
βŒˆΓ—βŠ™Γ·Β°βŠŸβŠΒ―1_0βŠ™10000000000000[128 64 32 16 8] # -> 625000000000
βŠœβ–‘βŠΈβ‰ @\s "5 5|10 10|20 5"
βŒŠΓ—100Γ—βŠƒ(Γ·βˆ©β‹•βŠƒβŠ£βŠ’|/×≑◇(/Γ·βŠœβ‹•βŠΈβ‰ @|)β†˜1β†˜Β―1) # -> 400
  • source