第一次见这种报错,求助
  • 板块学术版
  • 楼主zhoumurui
  • 当前回复8
  • 已保存回复8
  • 发布时间2024/10/13 23:36
  • 上次更新2024/10/14 13:39:17
查看原帖
第一次见这种报错,求助
305928
zhoumurui楼主2024/10/13 23:36

No valid executable file was produced by the compiler
/tmp/compiler_idq1svnz/src: 在函数‘void build(long long int, long long int, long long int)’中:
/tmp/compiler_idq1svnz/src:63:33: 警告:建议在‘<<’的操作数中出现的‘-’前后加上括号 [-Wparentheses]
63 | t[rt].z[i]=(1<<m-i)-1;
| ~^~
/tmp/compiler_idq1svnz/src: 在函数‘void upd(long long int, long long int, long long int)’中:
/tmp/compiler_idq1svnz/src:106:33: 警告:建议在‘<<’的操作数中出现的‘-’前后加上括号 [-Wparentheses]
106 | t[rt].z[i]=(1<<m-i)-1;
| ~^~
./ccg1Su3P.o: in function _GLOBAL__sub_I_src': src:(.text.startup+0x57): relocation truncated to fit: R_X86_64_PC32 against .bss'
src:(.text.startup+0x71): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: 错误:ld 返回 1

2024/10/13 23:36
加载中...