int prime[100]; // 소수 저장 int pn=0; // 소수의 개수 bool check[101]={false,}; //false가 소수 int n =100; // 100까지 소수 체크 for(int i=2; i