Help me error in my code

question-fibonacci meets GCD
my code-https://ide.codingblocks.com/s/241633

Error message-/tmp/cceBgOlj.o: in function __static_initialization_and_destruction_0(int, int)': source.cpp:(.text+0x558): relocation truncated to fit: R_X86_64_PC32 against .bss’
source.cpp:(.text+0x56b): relocation truncated to fit: R_X86_64_PC32 against `.bss’
collect2: error: ld returned 1 exit status

@vaibhav5147 you array size is two large its causing the problem. You need use segment tree along with a mathematical property.
GCD(Fib(A),Fib(B))= FIB(GCD(A,B)
If this resolves your doubt mark it as resolved.