Why do I get a SIGSEGV?

Pls help me with the runtime error(SIGSEGV)
http://www.codechef.com/viewsolution/6400340

Runtime Error(SIGSEGV) in codechef???
here is my code…
http://www.codechef.com/viewsolution/6420544

Can you please tell why SIGSEGV error in this code.
http://www.codechef.com/viewsolution/6454306

http://www.codechef.com/viewsolution/6583655

why i m getting SIGSEVG?? plz help

why am i getting SIGSEVG ? http://www.codechef.com/viewsolution/6845084

Why do I get SIGSEVG ? http://www.codechef.com/viewsolution/7075835

http://www.codechef.com/viewsolution/7240860
why I am getting sigsevg error

Why do I get SIGSEGV error for this code http://www.codechef.com/viewsolution/7280734
Please help, I haven’t used pointers or functions and it runs perfectly well on code blocks

#include<stdio.h>
int main()
{
int i,n,f=1,j=1;
scanf("%d",&n);
int a[10];
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n;i++)
{
f=1;j=1;
while(j<=a[i]){
f=f*j;
j++;
}
printf("%d\n",f);
}
return 0;
}

why am i getting a run time error here?

Why I’m Getting SIGSEVG for this:
https://www.codechef.com/viewsolution/7491075

Can anyone tell me why i am getting run time error(sigsegv) for this
https://www.codechef.com/viewsolution/7491260

Problem: https://www.codechef.com/problems/E1/

Just check if you are accessing any element outside the declared array size,most common error might be in a loop.

I get runtime error, please check and give the answer

https://www.codechef.com/viewsolution/8004579

i got error “SIGSEGV” for my code https://www.codechef.com/viewsolution/8172487

Why am I getting SIGSEGV for this solution of the problem ADDMUL

https://www.codechef.com/viewsolution/8210117

It is partially solved, still can someone explain why am i getting SIGSEGV

@devesh23 try to use less memory…
like try to solve the question using long int instead if long long int!!

why am i getting SIGSEVG ? https://www.codechef.com/viewsolution/8450343

awesome question.

why iam getting SIGSEVG ? This code is running successfully on the IDE.
https://www.codechef.com/viewsolution/8704219

plz help

1 Like

Please check this https://www.codechef.com/viewsolution/8836252 , I’ve tried running it through codechef IDE and Codeblocks and it works fine. When I submitted what I get is a runtime error SIGSEGV. Thanks.

1 Like