Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134809 欧阳俊懿 指针遍历数组 C++ Runtime Error 0 MS 248 KB 362 2025-11-01 16:01:55

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n[101]={}; int *p; for(int i=0;i<101;i++){ cout<<*p<<endl; } return 0; }


Run Info:

Runtime Error:Segmentation fault