1 solutions

  • 0
    @ 2026-11-15 12:19:33

    C++ :

    #include <bits/stdc++.h>
    using namespace std;
    int a[200001];
    int main() {
        int n, x;
        cin >> n;
        cout << n << endl;
        for (int i = 1; i <= n; i++) {
            cin >> x;
            a[x] = i;
        }
        for (int i = 1; i <= n; i++)
            cout << a[i] << endl;
        return 0;
    }
    
    
    • 1

    Information

    ID
    175
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By