c-plus-plus / val /29342665.cpp.csv
ReySajju742's picture
Upload 11999 files
da6962b verified
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
inline int IN(){`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
int x=0,f=1;char ch;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`0`2`2`0`0`0`0`0`0`0`3`0`2`5`0`0`0`0`0`0`0`0`0
for (CH;ch>'9'||ch<'0';CH) if (ch=='-') f=-1;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`0`0`0`0`0`0`1`0`0`0`1`0`0`0`0`0`0`0`0`0`0`0`0`0
for (;ch>='0'&&ch<='9';CH) (x*=10)+=ch-'0';`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`3`8`6`1`0`1`1`0`0`0`1`0`10`0`10`0`0`2`10`1`0`11`0`0
return x*f;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`5`2`1`0`0`0`0`0`0`0`0`6`0`6`0`0`1`3`0`2`5`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
scanf("%d%d",&n,&m);`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`1`0`1`0`0`0`0`0`0`0`3`0`3`2`0`1`0`2`0`2`0`0
for (i=1;i<=n;i++){`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`4`1`1`0`0`1`0`0`0`1`0`4`0`4`0`0`0`2`1`0`3`0`0
scanf("%d",&x);`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`1`1`0`1`0`0`0`0`0`0`0`2`0`2`1`0`1`0`1`0`1`0`0
Q.insert(x);`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`0`0`0`0`0`0
for (it=Q.begin();it!=Q.end();it++){`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`4`5`1`1`0`0`1`0`0`0`1`0`8`0`8`0`0`0`0`0`0`0`0`0
t=*it;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`4`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`1`0`0`1`0`0
if (Map[t]==0){ans++;Map[t*m]=1;}`FunctionDecl,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`1`0`0`0`3`0`6`6`2`2`0`1`0`0`0`0`0`0`8`0`8`0`0`0`3`1`0`4`0`1
printf("%d",ans);`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`0`1`0`1`0`0`0`0`0`0`0`1`0`1`0`0`1`0`0`0`0`0`0