rt,写了一个暴力对拍,结果 ce 了 /kk
这是错误信息(好像是链接器报错 qwq):
/tmp/ccqcR9RH.o: in function `NTT(long long*, int, bool)':
brute-force.cpp:(.text+0x4c): relocation truncated to fit: R_X86_64_PC32 against symbol `tr' defined in .bss section in /tmp/ccqcR9RH.o
brute-force.cpp:(.text+0x69): relocation truncated to fit: R_X86_64_PC32 against symbol `tr' defined in .bss section in /tmp/ccqcR9RH.o
brute-force.cpp:(.text+0xcc): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/tmp/ccqcR9RH.o: in function `__static_initialization_and_destruction_0(int, int)':
brute-force.cpp:(.text+0x60b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
brute-force.cpp:(.text+0x61e): relocation truncated to fit: R_X86_64_PC32 against `.bss'
brute-force.cpp:(.text+0x642): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status
会不会是我数组开太大了?因为是暴力对拍所以开了三个 2×108 的 long long
数组(一个 f
一个 g
一个 tr
就是蝴蝶变化的那个 qwq)
救救孩子/kel 这只是一个暴力啊/kel