提交时间:2022-07-17 12:46:17

运行 ID: 48900

#include<iostream> int main(){ int a,b,c=0; scanf("%d %d",&a,&b); while(a<=b){ if(a%6==0||a%8==0) c=c+1; a++; } printf("%d",c); return 0; }