Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146309 张宇泽 序列变换 C++ Accepted 1 MS 268 KB 207 2026-01-28 10:51:23

Tests(10/10):


Code:

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