| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 46395 | 杨中琦 | 求满足条件的整数个数 | C++ | Accepted | 100 | 0 MS | 252 KB | 171 | 2022-07-13 12:58:39 |
#include<iostream> int main(){ int a,i=1,g=0; scanf("%d",&a); while(i<=a){ if(i%3==2&&i%5==3&&i%7==2){ g++; } i++; } printf("%d",g); return 0; }