| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129108 | 李馥甄 | 14判断素数III | C++ | Wrong Answer | 2 MS | 272 KB | 192 | 2025-08-21 22:26:01 |
#include <bits/stdc++.h> using namespace std; int main(){ int n,i=2; cin>>n; while(i<=n-1){ if(n%i==0){ cout<<"No"; return 0; } i++; } cout<<"Yes"; return 0; }
------Input------
991
------Answer-----
YES
------Your output-----
Yes