Run ID:112076
提交时间:2025-03-08 13:00:28
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int flag = 0; for (int i = 2; i < n; i++) { if (n % 1 == 0) { flag = 1; break; } } if (flag == 1) { cout << "No" << endl; } else { cout << "Yes" << endl; } return 0; }