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

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]<<" "; } return 0; }


Run Info:

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