Prime visits in number theory


please correct the code . i am getting segmentation fault.

@nirupama1 there was a small mistake in your code i have updated it and commented that part check this https://ide.codingblocks.com/s/229305

still getting segmentation fault

it is showing segmentation fault due to some technical error in online ide, submit it in hackerblocks it will work fine

1 Like


getting the same error there also

@nirupama1 yeah for sample it is showing error to me now but submitting it giving all clear,
do one thing check sample case in other ide and directly submit it on hackerblocks