| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12209 | 罗炜翰 | 素数的个数 | C++ | Runtime Error | 0 | 0 MS | 248 KB | 279 | 2025-07-08 14:46:36 |
#include<bits/stdc++.h> using namespace std; int fun(int q){ for(int i=0;i<q;i++){ if(q%i==0){ return 2; return 0; } } return 1; } int main() { int n,m; cin>>n>>m; for(int i=n;i<=m;i++){ if(fun(i)==1){ cout<<i; } } return 0; }