| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74513 | 李君彦666 | 100至200之间的所有素数 | C++ | Accepted | 1 MS | 256 KB | 255 | 2024-05-25 14:39:41 |
#include <iostream> using namespace std; int main() { int c = 0; for (int n = 100; n <= 200; n++) { for (int i = 1; i <= n; i++) { if (n % i == 0) { c++; } } if (c == 2) { cout << n << endl; } c = 0; } }