| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5647 | 张佳杰 | 乐乐的幸运数 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 198 | 2020-08-14 16:42:23 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,ans=0,a=0,b; cin>>m>>n; for(int i=m;i<=n;i++){ if(i%8==0) ans++; if(i%6==0) a++; b=a+ans; }cout<<b; return 0; }