就是说为什么会CE(问题在cnt上)
#include <iostream>
#include <algorithm>
using namespace std;
int const p = (1 << 26) + 1;
int cnt[p] = {1};
int main()
{
return 0;
}
编译信息
- g++: 编译器内部错误:File size limit exceeded signal terminated program as
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
参阅 https://gcc.gnu.org/bugs/ 以获取指示。
#include <iostream>
#include <algorithm>
using namespace std;
int const p = (1 << 26) + 1;
int cnt[p];
int main()
{
cnt[0] = 1;
return 0;
}
这个没问题