| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146324 | 万麟峰 | 序列变换II | C++ | Compile Error | 0 MS | 0 KB | 203 | 2026-01-28 10:53:05 |
#include<bits/stdc++.h> using namespace std; int main(){ int i; cin>>i; int a[i+1]; for(int n=1;n<=i;n++){ cin>>a[n]; } for(int s=1;s<=i;s++){ cout<<a[a[a[s]]<<" "; } return 0; }
Main.cc: In function 'int main()': Main.cc:11:20: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<' cout<