Running in my local computer very well but not compiling in cb . whats the isuue need help here the code:
Core dumped exe error while compiling in coding blocks
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 
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 
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 
If this resolves your doubt then please markk it as resolved 
I didnt know custom inputs are necessary here, thanx issue resolved
1 Like