为什么二维数组大小到1000就会出错?
  • 板块学术版
  • 楼主sy_whwh
  • 当前回复4
  • 已保存回复4
  • 发布时间2020/8/26 22:21
  • 上次更新2023/11/6 19:13:55
查看原帖
为什么二维数组大小到1000就会出错?
38183
sy_whwh楼主2020/8/26 22:21
#include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
int main ()
{
	int n,m,k,t,ans;
	int d[1002][1002];
	cout<<"abcd"<<endl;
}

如题,竟然什么也打不出来。去掉d[1002][1002]就可以打出来字符。有知道为什么的吗?

2020/8/26 22:21
加载中...