Doubt Boston Numbers

can anyone help me with this:
ques link: https://hack.codingblocks.com/contests/c/452/1103
soln link : https://ide.codingblocks.com/#/s/22842

Only one test case is showing wrong
can anyone point out my mistake
Thanks in advance:)

The N==1 case in sumofprime function. It should return 0

1 Like