24 lines
417 B
Plaintext
24 lines
417 B
Plaintext
#include <iostream>
|
|
#include <vector>
|
|
|
|
int main()
|
|
{
|
|
std::vector<int> data;
|
|
std::vector<int> dataT;
|
|
int a;
|
|
std::cin>> a;
|
|
for(int i = 0;i < a;i++){
|
|
int b;
|
|
std::cin >> b;
|
|
data.push_back(b);
|
|
dataT.push_back(i);
|
|
}
|
|
for(int j = 0;j < a;j++){
|
|
dataT[data[j] - 1] = j + 1;
|
|
}
|
|
for(int k = 0 ;k< a;k++){
|
|
std::cout << dataT[k]<<' ';
|
|
}
|
|
|
|
|
|
} |