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