Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1523 沈文佳 幸运数字 C++ Accepted 100 0 MS 252 KB 167 2019-10-13 10:35:38

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: