Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127291 陈冠樾 100至200之间的所有素数 C++ Accepted 1 MS 264 KB 255 2025-07-26 16:58:52

Tests(1/1):


Code:

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