Run ID:126823

提交时间:2025-07-22 11:22:54

#include<bits/stdc++.h> using namespace std; int main() { int x = 2, n, s = 0; cin >> n; for (int i = 2; i <= x - 1; i++) { if (x % i == 0) { s++; break; } } if (s == 0) { cout << "prime"; } else { cout << "not prime"; } return 0;