Run ID:129346
提交时间:2025-08-24 13:52:18
#include<bits/stdc++.h> using namespace std; int main(){ long long n; int i=2 bool f=true; while(i<=sqrt(n)){ if(n%i==0){ f=false; } } if(f==true){ cout<<"yes"; } else{ cout<<"no"; } return 0; }