Problem I: 排序&位置
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:160
Solved:62
Description
给定一个n个数的无序数组,请输出排序后的数组以及对应元素原来的位置
Input
第一行输入n
第二行输入n个数,数不超过3005.
第二行输入n个数,数不超过3005.
Output
输出排序后的数组以及对应元素原来的位置。
Sample Input Copy
5
5 4 3 2 1
Sample Output Copy
1 2 3 4 5
5 4 3 2 1