| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5642 | 张佳杰 | 乐乐的幸运数 | C++ | Wrong Answer | 0 | 0 MS | 244 KB | 218 | 2020-08-14 16:38:51 |
#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; }