洛谷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