| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148781 | 吴昊 | 14判断素数III | C++ | Wrong Answer | 0 MS | 280 KB | 305 | 2026-02-28 19:39:23 |
#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; int flac=0; for(int i=2;i<n;i++){ if(n%i==0){ flac=1; cout<<"No"; break; } } if(flac==0){ cout<<"Yes"; } return 0; }
------Input------
991
------Answer-----
YES
------Your output-----
Yes