Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112268 李朋秦 序列变换 C++ Accepted 1 MS 280 KB 230 2025-03-09 10:00:10

Tests(10/10):


Code:

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