什么情况?
  • 板块学术版
  • 楼主xhabc66
  • 当前回复2
  • 已保存回复2
  • 发布时间2023/7/15 14:59
  • 上次更新2023/11/3 09:43:00
查看原帖
什么情况?
718740
xhabc66楼主2023/7/15 14:59

洛谷IDE报错:

No valid executable file was produced by the compiler
/tmp/compiler_g12b5ul6/src: 在函数‘void add(int, std::string)’中:
/tmp/compiler_g12b5ul6/src:30:85: 警告:建议在用作真值的赋值语句前后加上括号 [-Wparentheses]
   30 |     if(s.size()==1)zds[zds[n].child[s[0]-'a']].last=zds[zds[n].child[s[0]-'a']].size=1;
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
./ccJb4bXY.o: in function `__static_initialization_and_destruction_0(int, int)':
src:(.text+0xa1d): relocation truncated to fit: R_X86_64_PC32 against `.bss'
src:(.text+0xa30): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: 错误:ld 返回 1

2023/7/15 14:59
加载中...