I’m getting a SIGSEGV here. Can someone point out my mistake.
Here’s my link to the solution CodeChef: Practical coding for everyone
Thanks in advance.
There are no spaces between different elements in a row. so, you have to scan each row as a string and then count no. of ones. your present approach is scanning whole row as a single number at a time.
1 Like
https://www.codechef.com/viewsolution/26002387
why is this code giving SIGSEGV fault.
please help
@aag_279
Thanks! Got AC
Why I am geeting this error…while it’s running fine in other ide.
‘SIGTSTP’
https://www.codechef.com/viewsolution/26020230
Can anyone help?