Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2619 | 莫业祁 | 19按规则查找数组中的数据 | C++ | Runtime Error | 1993 MS | 264 KB | 261 | 2024-01-20 12:03:57 |
# include<iostream> using namespace std; int main(){ int n,m,temp=1 ; cin>>n; cin>>m; int ai[n+1]; for(int i=1;i=n+1;i++) cin>>ai[i]; for(int i=1;i=m;i++) temp=ai[temp]; cout<<temp<<" "; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275