Advertisement
rwerewr

Untitled

Jun 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. set {_list::*} to sorted {yourList::*}
  2. loop {_list::*}:
  3. set {_current} to loop-index parsed as int - 1
  4. add {_list::%size of {_list::*} - {_current}%} to {_invertedList::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement