
CodePudding user response:
Because I should leave after % j==0 cycle rather than continue, otherwise will judge again, causing errorCodePudding user response:
Because I should leave after % j==0 cycle rather than continue, otherwise will judge again, causing error