Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1524 沈文佳 幸运数字 C++ Accepted 100 0 MS 256 KB 166 2019-10-13 10:36:30

Tests(1/1):


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


Judgement Protocol: