| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121882 | 李林叡 | 13判断质数 | C++ | Wrong Answer | 1 MS | 268 KB | 225 | 2025-06-08 17:49:05 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int c=0; c=c+1; for(int i=2;i<=n;i++){ if(n%i==0){ cout<<"No"; return 0; } } cout<<"Yes"; }
------Input------
157
------Answer-----
Yes
------Your output-----
No