Untitled
unknown
plain_text
a year ago
286 B
0
Indexable
Never
#include <iostream> #include <string> using namespace std; int main() { int n; cin >> n; for (int i = 2; i <= sqrt(n); i++) { if (n % i == 0) { cout << "slozhnoe"; return 0; } } cout << "prostoe"; return 0; }