素数三种计算方式 从2~i依次取余 从2~i/2依次取余 从2~根号i取余 #include<stdio.h> int main(){ //第一种 int i=2,j; printf("%d",i); for