| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 126815 | 何松羽 | 素数判断 | C++ | Wrong Answer | 1 MS | 272 KB | 252 | 2025-07-22 11:06:45 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m>>n; for(int x=2;x<=n;x++){ int s=0; for(int i=2;i<=m-1;i++){ if(x%i==0){ s++; break; } } if(s==0){ cout<<x<<" "; } } return 0; }
------Input------
9973
------Answer-----
prime
------Your output-----