| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5636 | yusuorong | 乐乐的幸运数 | C++ | Accepted | 100 | 0 MS | 248 KB | 184 | 2020-08-14 16:33:03 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,ans=0; cin>>m>>n; for(int i=m;i<=n;i++){ if(i%6==0||i%8==0){ ans++; } } cout<<ans; return 0; }