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 Revisions

3 of 3
deleted 64 characters in body
lyxal
  • 35.6k
  • 2
  • 69
  • 148

Vyxal, 3 bytes

Þė↑

Try it Online!

And they said maximum by tail was useless! Now who's laughing! (me... It's me who's laughing)

Outputs [[x, y], item].

Explained

Þė↑­⁡​‎‎⁡⁠⁡‏⁠‎⁡⁠⁢‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁣‏‏​⁡⁠⁡‌­
Þė # ‎⁡Multidimensional enumeration
 ↑ # ‎⁢Maximum by tail 
💎

Created with the help of Luminespire.

lyxal
  • 35.6k
  • 2
  • 69
  • 148

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