会了会了ac了 by 编程小萌新 @ 2023-07-07 20:17:59
你在判断1的时候su没有执行里面的循环,会导致返回true,而1并不是素数,所以要加一行if(a == 1) return false by FanMingxuan @ 2023-07-07 20:19:28