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)提供评测服务