getting sigsegv error LEBOMBS

i’m getting sigsegv error(runtime error) i checked the guidelines .to my knowledge i followed them.please help in finding the error .thanks in advance.

question link

my solution

//