| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5913 | 孙文谦 | 乐乐的幸运数 | C++ | Accepted | 100 | 0 MS | 248 KB | 174 | 2020-08-16 16:14:31 |
#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; }