提交时间:2020-10-31 16:07:48

运行 ID: 8135

#include<bits/stdc++.h> using namespace std; int s; int main(){ int m,n; cin>>m>>n; if(m%2!=0) m++; for(int i=m;i<=n;i+=2){ if(i%6==0||i%8==0) s++; } cout<<s; return 0; }