| code`block`FunctionDecl`FunctionDeclRec`ForStmt`ForStmtRec`DoStmt`DoStmtRec`WhileStmt`WhileStmtRec`IfStmt`IfStmtRec`SwitchStmt`SwitchStmtRec`countBlocks`countBlocksRec`countCondition`countVariable`countLiteral`IntegerLiteral`StringLiteral`IfStmt`ForStmt`WhileStmt`DoStmt`SwitchStmt`countLoop`VarDecl`DeclRefExpr`DeclStmt`countDecl`countPointer`writeFunction`CallExpr`BinaryOperator`UnaryOperator`CompoundAssignOperator`countOperand`ArraySubscriptE`RealFaultLocation | |
| void find(long long star,long long end)`FunctionDecl,true;`1`1`0`0`0`0`0`0`0`0`0`0`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| if(a[s]*k>a[n-1])`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`5`1`1`0`1`0`0`0`0`0`0`5`0`5`0`0`0`3`0`0`3`2`0 | |
| mark=1;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| return;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| long long mid=(star+end)/2;`FunctionDecl,true;`1`1`0`0`0`0`0`0`0`0`0`0`1`1`0`2`1`1`0`0`0`0`0`0`0`1`2`1`4`0`0`0`2`0`0`2`0`0 | |
| if(a[s]*k==a[mid])`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`5`0`0`0`1`0`0`0`0`0`0`5`0`5`0`0`0`2`0`0`2`2`0 | |
| mark=1;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| sum++;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`1`0`0`0`0`0`0`0`0`0`0`1`0`1`0`0`0`0`1`0`1`0`0 | |
| b[mid]=1;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`1`0 | |
| return;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| else if(a[s]*k==a[end])`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`2`5`0`0`0`1`0`0`0`0`0`0`5`0`5`0`0`0`2`0`0`2`2`0 | |
| mark=1;`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`2`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| sum++;`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`2`1`0`0`0`0`0`0`0`0`0`0`1`0`1`0`0`0`0`1`0`1`0`0 | |
| b[end]=1;`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`2`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`1`0 | |
| return;`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`2`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| else if((star==end-1||star>end||star==end)&&a[star]!=a[s]*k)`FunctionDecl,true;IfStmt,false;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`3`0`0`0`4`1`10`11`1`1`0`1`0`0`0`0`0`0`11`0`11`0`0`0`9`0`0`9`2`0 | |
| mark=1;`FunctionDecl,true;IfStmt,false;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`3`0`0`0`4`1`10`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| return;`FunctionDecl,true;IfStmt,false;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`3`0`0`0`4`1`10`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| if(a[mid]<a[s]*k&&mark==0)`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`3`6`1`1`0`1`0`0`0`0`0`0`6`0`6`0`0`0`4`0`0`4`2`0 | |
| star=mid;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`3`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0 | |
| find(star,end);`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`3`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`1`1`0`0`0`0`0`0 | |
| else if(a[mid]>a[s]*k&&mark==0)`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`6`6`1`1`0`1`0`0`0`0`0`0`6`0`6`0`0`0`4`0`0`4`2`0 | |
| end=mid;`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`6`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0 | |
| find(star,end);`FunctionDecl,true;IfStmt,false;IfStmt,false;`1`1`0`0`0`0`0`0`2`0`0`0`3`1`6`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`1`1`0`0`0`0`0`0 | |
| if(mark==1)`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`1`1`1`0`1`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| return;`FunctionDecl,true;IfStmt,false;`1`1`0`0`0`0`0`0`1`0`0`0`2`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| int main()`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0 | |
| while(~scanf("%lld%lld",&n,&k))`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`2`1`0`1`0`0`1`0`0`1`0`3`0`3`2`0`1`0`3`0`3`0`0 | |
| memset(a,0,sizeof(a));`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`2`1`1`0`0`0`0`0`0`0`0`3`0`3`0`0`1`0`0`0`0`0`0 | |
| memset(b,0,sizeof(b));`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`2`1`1`0`0`0`0`0`0`0`0`3`0`3`0`0`1`0`0`0`0`0`0 | |
| for(i=0;i<n;i++)`FunctionDecl,false;WhileStmt,false;ForStmt,false;`1`0`1`0`0`0`1`0`0`0`0`0`3`0`2`4`1`1`0`0`1`0`0`0`1`0`4`0`4`0`0`0`2`1`0`3`0`0 | |
| scanf("%lld",&a[i]);`FunctionDecl,false;WhileStmt,false;ForStmt,false;`1`0`1`0`0`0`1`0`0`0`0`0`3`0`2`2`1`0`1`0`0`0`0`0`0`0`3`0`3`1`0`1`0`1`0`1`1`0 | |
| sort(a,a+n);`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`3`0`0`0`0`0`0`0`0`0`0`4`0`4`0`0`1`1`0`0`1`0`0 | |
| sum=0;`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| if(k*a[0]<=a[n-1]&&n>=2)`FunctionDecl,false;WhileStmt,false;IfStmt,false;`1`0`0`0`0`0`1`0`1`0`0`0`3`0`4`5`3`3`0`1`0`0`0`0`0`0`5`0`5`0`0`0`5`0`0`5`2`1 | |
| for(i=0;i<n;i++)`FunctionDecl,false;WhileStmt,false;IfStmt,false;ForStmt,false;`1`0`1`0`0`0`1`0`1`0`0`0`4`0`5`4`1`1`0`0`1`0`0`0`1`0`4`0`4`0`0`0`2`1`0`3`0`0 | |
| s=i;`FunctionDecl,false;WhileStmt,false;IfStmt,false;ForStmt,false;`1`0`1`0`0`0`1`0`1`0`0`0`4`0`5`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0 | |
| mark=0;`FunctionDecl,false;WhileStmt,false;IfStmt,false;ForStmt,false;`1`0`1`0`0`0`1`0`1`0`0`0`4`0`5`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| if(b[i]==0)`FunctionDecl,false;WhileStmt,false;IfStmt,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`1`0`2`0`0`0`5`0`6`2`1`1`0`1`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`1`0 | |
| find(i,n-1);`FunctionDecl,false;WhileStmt,false;IfStmt,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`1`0`2`0`0`0`5`0`6`2`1`1`0`0`0`0`0`0`0`0`3`0`3`0`1`1`1`0`0`1`0`0 | |
| printf("%lld\n",n-sum);`FunctionDecl,false;WhileStmt,false;`1`0`0`0`0`0`1`0`0`0`0`0`2`0`1`1`1`0`1`0`0`0`0`0`0`0`2`0`2`0`0`1`1`0`0`1`0`0 | |