Core dumped exe error while compiling in coding blocks

Running in my local computer very well but not compiling in cb . whats the isuue need help here the code:

Hey @mdhammad139
Its working fine on my side ,
though to get correct answer u have to do next-prev instead of prev-next
Please recheck :slight_smile:

I have compiled again on yr ide but still the same issue getting segmentation fault errror (core dumped. exe)

Make sure you have given custom input,its getting submitted on my side without any change except the one I mentioned to get AC verdict :slight_smile:

I have directly submitted the code without compiling it passed all the test cases but but giving compiling error otherwise😅

Maybe some technical issue ,ignore it :slight_smile:
If this resolves your doubt then please markk it as resolved :slight_smile:

I didnt know custom inputs are necessary here, thanx issue resolved

1 Like