| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1581 | 李言 | 求满足条件的整数个数 | C++ | Accepted | 100 | 0 MS | 252 KB | 165 | 2019-10-13 20:56:31 |
#include<iostream> int main(){ int a=1,n,c=0; scanf("%d",&n); while(a<=n){ if(a%3==2&&a%5==3&&a%7==2) c=c+1; a=a+1; } printf("%d",c); return 0; }