Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88221 张曦 序列变换 C++ Wrong Answer 0 MS 276 KB 323 2024-08-18 16:56:10

Tests(0/10):


Code:

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


Run Info:

------Input------
41 29 15 24 21 3 14 13 9 30 35 18 16 16 37 17 3 25 15 21 10 38 26 14 39 20 2 37 34 10 9 17 35 40 26 22 19 5 5 30 13 13
------Answer-----
10 17 39 38 24 37 16 30 9 22 15 3 3 5 25 24 20 17 38 35 5 2 37 30 10 15 5 26 35 30 25 22 13 2 26 21 3 3 9 16 16
------Your output-----
9 3 20 26 21 17 37 35 17 19 21 25 25 5 15 21 2 3 26 18 30 37 17 13 38 24 5 22 18 35 15 19 13 37 14 10 14 14 17 37 37