For this Question: There is a classroom of N people. They all enter the class at different times. Each of the N students give details on how many students were already present in the class when they entered the class. The i<sup>th</sup> student tells that there were A<sub>i</sub> students present before them. Find the order in which they enter the classroom.The first line of the input contains a single integer N.
The second line of the input contains N space seperated integers.

Constraints:
1 <= N <= 10<sup>5</sup>
1 <= A<sub>i</sub> <= N
All A<sub>i</sub> are distinct.Print the student numbers of the students in the order the students entered the classroom.Sample Input:
3
2 3 1

Sample Output:
3 1 2, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
using pii = pair<int, int>;

int main() {
    int n;
    cin>>n;
    vector<pii> vec;
    for(int i=0;i<n;i++) {
        int x;
        cin>>x;
        vec.push_back({x, i+1});
    }
    sort(vec.begin(), vec.end());
    for(pii p : vec)
        cout<<p.second<<" ";
    return 0;
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?