[C++]只定义数组的空代码CE
  • 板块学术版
  • 楼主RDFZchenyy
  • 当前回复6
  • 已保存回复6
  • 发布时间2022/2/18 14:24
  • 上次更新2023/10/28 08:16:34
查看原帖
[C++]只定义数组的空代码CE
567610
RDFZchenyy楼主2022/2/18 14:24
#include<bits/stdc++.h>
using namespace std;
int dper[50005][100000005];

int main(){
    return 0;
}
	No valid executable file was produced by the compiler
	./cc65UKdV.o: in function `__static_initialization_and_destruction_0(int, int)':
	src:(.text+0x2b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
	src:(.text+0x3e): relocation truncated to fit: R_X86_64_PC32 against `.bss'
	collect2: 错误:ld 返回 1

本人提交上述代码(方框1),CE并返回方框2中的信息。求问为什么空代码会崩?

题目:P1095 [NOIP2007 普及组] 守望者的逃离

记录:link-R69584657

2022/2/18 14:24
加载中...