| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74510 | 闫芮宁 | 100至200之间的所有素数 | C++ | Output Limit Exceeded | 11 MS | 264 KB | 249 | 2024-05-25 14:39:06 |
#include <iostream> using namespace std; int main() { int n, c = 0; for (int n = 100; c <= 200; n++) { for (int i = 1; i <= n; i++) { if (n % i == 0) { c++; } } if (c == 2) { cout << n << endl; } c = 0; } }