Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2620 莫业祁 19按规则查找数组中的数据 C++ Runtime Error 1997 MS 256 KB 261 2024-01-20 12:06:03

Tests(0/10):


Code:

# 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++) ai[temp]=temp; cout<<temp<<" "; return 0; }


Run Info:

Runtime Error:[ERROR] A not allowed system call.
Call ID:275