Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127292 袁梓豪 100至200之间的所有素数 C++ Accepted 1 MS 260 KB 263 2025-07-26 16:59:38

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a; for (int j = 100; j <= 200; j++) { a = 0; for (int i = 2; i < j; i++) { if (j % i == 0) { a++; } } if (a == 0) { cout << j << endl; } } return 0; }