Skip to content

Instantly share code, notes, and snippets.

@tony-o
Last active June 20, 2018 17:35
Show Gist options
  • Save tony-o/f074064e9f0564ebc27d8e3414e807fc to your computer and use it in GitHub Desktop.
Save tony-o/f074064e9f0564ebc27d8e3414e807fc to your computer and use it in GitHub Desktop.
my @a = get.comb(/\d+/);
say "{++$_}: {@a=(@a Z- @a.rotate)>>.abs}" until none(@a) || (%){~@tup}++;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment