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

Tests(0/10):


Code:

# include<iostream> using namespace std; int main(){ int n,m,temp=1,ai[1001]={}; cin>>n; cin>>m; 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