Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77389 李雨昊 数组输出 C++ Runtime Error 0 MS 272 KB 277 2024-06-09 09:35:16

Tests(0/1):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { int a[10]={0}; for(int i=1;i<=10;i++){ cin>>a[i]; } for(int i=1;i<=10;i++){ cout<<a[i]<<" "; }cout<<endl; return 0; }


Run Info:

*** stack smashing detected ***: ./Main terminated