Run ID:138675
提交时间:2025-11-29 13:54:47
#include<bits/stdc++.h> using namespace std; int main(){ int m; bool b=1; cin>>m; for(int i=2;i<=m-1;i++){ if(m%i==0){ b=0; } } if(b==0){ cout<<"no"; } else{ cout<<"yes"; } return 0; }