#include using namespace std; bool zyt(int x){ for(int i=2;i*i<=x;i++){ if(x%i==0){ return 0; } } return 1; } int main(){ int a; cin>>a; if(zyt(a)) cout<<"yes"; else cout<<"no"; return 0; }
都 说 了 发 送 题 解 代 码 要 这 样 发:
```cpp 代码; ```
共 1 条回复
都 说 了 发 送 题 解 代 码 要 这 样 发: