Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127285 王培用 100至200之间的所有素数 C++ Accepted 1 MS 256 KB 216 2025-07-26 16:46:43

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; }