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/ccrYCv8N.o: in function `main':
foo.cc:(.text.startup+0x5): relocation truncated to fit: R_X86_64_32 against symbol `s' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0x14): relocation truncated to fit: R_X86_64_32 against symbol `e' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0x23): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0x34): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0x59): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0x93): relocation truncated to fit: R_X86_64_32S against symbol `ans' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0xa8): relocation truncated to fit: R_X86_64_32S against symbol `ans' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0xb8): relocation truncated to fit: R_X86_64_32S against symbol `ans' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0xca): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccrYCv8N.o
foo.cc:(.text.startup+0xd3): relocation truncated to fit: R_X86_64_PC32 against symbol `s' defined in .bss section in /tmp/ccrYCv8N.o
collect2: error: ld returned 1 exit status