| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12194 | 陈颖钧 | 素数的个数 | C++ | Compile Error | 0 | 0 MS | 0 KB | 283 | 2025-07-08 14:15:35 |
#include<bits/stdc++.h> using namespace std; int n,m,i,s; int su(int n,int m){ s=0; for(i=n;i<=m;i++){ if(i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0&&i!=1||i==2||i==3||i==5||i==7){ s++; } } return s; } int main(){ cin>>n>>m; cout<<su(n,m) }