结果出现了不是素数的数
int fun(int n) { if (n <= 1) return 1; int i; for (i = 2; i < n; i++) { if (n % i == 0) { return 1; } } return 0; }