SIGSEGV Error

Getting an sigsegv error
The memory of the program is not exceeding the given limit and also i think i havent accessed any any unauthorized element of the array
CHECK OUT MY CODE AND POINT OUT ERRORS.

CODE LINK

1 Like

That isn’t a link to your code :slight_smile:

1 Like

that is the correct link,kindly check again

The link you’ve posted is

https://www.codechef.com/submit/BIT2A

which is not a link to your code; it’s the link anyone will see if they want to submit their solution.

1 Like

oh,sometimes it opens correct but sometimes it keeps on loading
how do i get it done?

i suggest directly click on the link
dont try to open it in a new tab or something

That’s not the link to your code. This is. It has received an AC verdict which stands for Accepted.
I’m sure you tried running the code without providing any input. That caused a Runtime Error denoted by the signal SIGSEGV.
I’d suggest selecting the invisible checkbox right beside the label Custom Input you’ll find to the left of the Run button. Provide some valid input in the window that magically opens up below and then click the Run button. :slightly_smiling_face:

2 Likes

thanks will try that

1 Like