could you fix the code
i am getting error
Deepak and primes
@yyashu123you should make your p[i] =1 for odd cases only means update your i as i+=2,and inside nested loop it should be j+=i (at line 17).
i have fixed that yet my code is failing
@yyashu123 i have corrected your code a little,look here for help (https://ide.codingblocks.com/s/221300)
it is still showing error
the below is wht it shows
Output
/bin/run.sh: line 4: 18 Segmentation fault (core dumped) ./exe
@yyashu123 that error is due to some technical issue in online ide, submit this code on hackerblocks it will pass all the case.