Run ID:163908
提交时间:2026-10-31 14:45:32
#include<iostream> using namespace std; int a,b,c; int main() { cin>>a; for(int b = 1;b<=a;b++){ if(a%b==0){ c = c+1; } } if(c == 2){ cout<<"Yes"; }else{ cout<<"No"; } return 0; }