/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int su(int)':
foo.cc:29:9: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
   29 |  if(b[i]==n)
      |     ~~~~^~~
foo.cc:11:6: warning: unused variable 'flag' [-Wunused-variable]
   11 | bool flag=false;
      |      ^~~~
/tmp/ccRqJQSm.o: in function `su(int)':
foo.cc:(.text+0x1a): relocation truncated to fit: R_X86_64_PC32 against symbol `j' defined in .bss section in /tmp/ccRqJQSm.o
foo.cc:(.text+0x2c): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccRqJQSm.o
foo.cc:(.text+0x8b): relocation truncated to fit: R_X86_64_PC32 against symbol `j' defined in .bss section in /tmp/ccRqJQSm.o
foo.cc:(.text+0xd0): relocation truncated to fit: R_X86_64_PC32 against symbol `i' defined in .bss section in /tmp/ccRqJQSm.o
foo.cc:(.text+0x11e): relocation truncated to fit: R_X86_64_PC32 against symbol `i' defined in .bss section in /tmp/ccRqJQSm.o
foo.cc:(.text+0x133): relocation truncated to fit: R_X86_64_PC32 against symbol `i' defined in .bss section in /tmp/ccRqJQSm.o
/tmp/ccRqJQSm.o: in function `_GLOBAL__sub_I_a':
foo.cc:(.text.startup+0xcb): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0xe9): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1786 质因数分解
语言
C++
递交时间
2022-03-27 20:23:54
评测时间
2022-03-27 20:23:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes