eee
2025-11-23 19:59:49
发布于:北京
2阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
bool a=true;
cin>>n;
for(int i=2;i<=n-1;i++)
{
if(n%i0)
{
a=false;
}
}
if(atrue && n!=1)
cout<<"Yes";
else
cout<<"No";
return 0;
}
这里空空如也

有帮助,赞一个