| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158508 | 王艺博 | 13判断质数 | C++ | Wrong Answer | 1 MS | 268 KB | 201 | 2026-08-22 13:09:55 |
#include<bits/stdc++.h> using namespace std; int main () { int a; cin>>a; for(int i=2;i<=a-1;i++){ if(a%i==0){ cout<<"no"; return 0; } } cout<<"yes"; return 0; }
------Input------
157
------Answer-----
Yes
------Your output-----
yes