| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137583 | hjx2115 | 100至200之间的所有素数 | C++ | Accepted | 2 MS | 260 KB | 434 | 2025-11-20 16:14:31 |
#include <bits/stdc++.h> using namespace std; int main() { int i,j,k,n,temp; i=101; while (i<=200) { j=2; temp=1; while (j<=sqrt(i)) { if (i%j==0) { temp=0; break; } else j++; } if (temp!=0) cout<<i<<endl; i=i+2; } return 0; }