摘要: #include<stdio.h>int prime(int x){ if(x<2) return 0; for(int i = 2;i < x;i++) if(x%i==0) return 0; return 1;}int main(){ int n; int f[40]; while(scanf 阅读全文