mushrooms.cpp: In function 'int main()':
mushrooms.cpp:24:9: warning: unused variable 'cnt' [-Wunused-variable]
24 | int cnt = 0;
| ^~~
/tmp/ccFTjZ9v.o: in function `__tcf_0':
mushrooms.cpp:(.text+0x9): relocation truncated to fit: R_X86_64_PC32 against symbol `garden[abi:cxx11]' defined in .bss section in /tmp/ccFTjZ9v.o
/tmp/ccFTjZ9v.o: in function `main':
mushrooms.cpp:(.text.startup+0x9): relocation truncated to fit: R_X86_64_PC32 against symbol `r' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x10): relocation truncated to fit: R_X86_64_PC32 against symbol `std::cin' defined in .bss._ZSt3cin section in /usr/lib/gcc/x86_64-linux-gnu/10/libstdc++.a(globals_io.o)
mushrooms.cpp:(.text.startup+0x38): relocation truncated to fit: R_X86_64_PC32 against symbol `c' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x47): relocation truncated to fit: R_X86_64_PC32 against symbol `d' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x56): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x64): relocation truncated to fit: R_X86_64_PC32 against symbol `r' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x73): relocation truncated to fit: R_X86_64_PC32 against symbol `garden[abi:cxx11]' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0x7c): relocation truncated to fit: R_X86_64_PC32 against symbol `std::cin' defined in .bss._ZSt3cin section in /usr/lib/gcc/x86_64-linux-gnu/10/libstdc++.a(globals_io.o)
mushrooms.cpp:(.text.startup+0x94): relocation truncated to fit: R_X86_64_PC32 against symbol `r' defined in .bss section in /tmp/ccFTjZ9v.o
mushrooms.cpp:(.text.startup+0xeb): additional relocation overflows omitted from the output
/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax
collect2: error: ld returned 1 exit status