| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5639 | 张熙媛 | 乐乐的幸运数 | C++ | Accepted | 100 | 0 MS | 256 KB | 188 | 2020-08-14 16:37:04 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,g=0; cin>>m>>n; for(int i=m;i<=n;i++){ if(i%6==0) g++; else if(i%8==0) g++; } cout<<g; return 0; }