Prime visits problem

written same code but still showing problem

hello @vanisinghal0201
what error it is showing

testcases are not passing

image
here it should be p[j]=0;

it is showing segmentation fault

use long long . . . . .

used long long and corrected the mistake now also showing sgmentation fault