PAT 乙级 1059 c语言竞赛 20分

题目: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

你可能感兴趣的:(PATBASIC)