| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136863 | 罗锦墨 | 序列变换II | C++ | Compile Error | 0 MS | 0 KB | 213 | 2025-11-15 15:26:56 |
#include<bits/stdc++.h> using namespace std; int a[101]; int x; int main() { cin>>x; for(int i=1;i<=x;i++ ){ cin>>a[i]; } for(int i=1;i<=x;i++ ){ cout<<a[a[a[i]]<<" "; } return 0; }
Main.cc: In function 'int main()':
Main.cc:12:21: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
cout<