记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:12:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
   12 |         else if(e==s==1) cout<<"1";
      |                 ~^~~
/tmp/ccl4Plj7.o: in function `main':
foo.cc:(.text.startup+0x23): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccl4Plj7.o
foo.cc:(.text.startup+0x34): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccl4Plj7.o
foo.cc:(.text.startup+0xca): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccl4Plj7.o
foo.cc:(.text.startup+0xd3): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccl4Plj7.o
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
1-2 斐波那契数列的和
语言
C++
递交时间
2024-08-20 11:52:19
评测时间
2024-08-20 11:52:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes