题目:https://pintia.cn/problem-sets/994805260223102976/problems/994805270356541440
#include
#include
#include
using namespace std;
int n,t;
int temp;
int main(){
bool isPrime(int a);
while(scanf("%d",&n)!=EOF){
int a[n];
int Checked[n];
memset(Checked,0,sizeof(Checked));
for(int i=0 ;i