Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138901 蔡胤泽 序列变换 C++ Accepted 1 MS 272 KB 230 2025-11-30 12:05:16

Tests(10/10):


Code:

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