You are viewing a single comment's thread. Return to all comments →
ruby how-to:
gets arr = gets.split.map(&:to_i) puts arr.map {|el| arr[el - 1] }
Seems like cookies are disabled on this browser, please enable them to open this website
Security Permutations
You are viewing a single comment's thread. Return to all comments →
ruby how-to: