c-plus-plus / val /29343371.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
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
int a,b,c,d=0,i,j,k,l;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`0`1`1`0`0`0`0`0`0`0`8`0`1`9`0`0`0`0`0`0`0`0`0
char ch;`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`1`0`1`2`0`0`0`0`0`0`0`0`0
string A,B,C,D;`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`4`0`1`5`0`0`0`0`0`0`0`0`0
cin>>A;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`0`0`0`0`0`0
cin>>B;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`0`0`0`0`0`0
cin>>C;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`0`0`0`0`0`0
a=A.size();`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0
b=B.size();`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0
c=C.size();`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0
if(a+b==c)`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`1`3`0`0`0`1`0`0`0`0`0`0`3`0`3`0`0`0`2`0`0`2`0`0
for(i=0;i<a;i++)`FunctionDecl,false;IfStmt,false;ForStmt,false;`1`0`1`0`0`0`0`0`1`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
for(j=0;j<c;j++)`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;`1`0`2`0`0`0`0`0`1`0`0`0`4`0`3`4`1`1`0`0`1`0`0`0`1`0`4`0`4`0`0`0`2`1`0`3`0`0
if(A[i]==C[j])`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`4`0`0`0`1`0`0`0`0`0`0`6`0`6`0`0`0`1`0`0`1`0`1
ch=C[j];`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`3`0`0`0`0`0`0`0`0`0`0`4`0`4`0`0`0`1`0`0`1`0`1
d=d+1;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`2`0`0`2`0`0
for(k=j;k<c-1;k++)`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;ForStmt,false;`1`0`3`0`0`0`0`0`2`0`0`0`6`0`5`5`1`1`0`0`1`0`0`0`1`0`5`0`5`0`0`0`3`1`0`4`0`0
C[k]=C[k+1];`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;ForStmt,false;`1`0`3`0`0`0`0`0`2`0`0`0`6`0`5`4`1`1`0`0`0`0`0`0`0`0`6`0`6`0`0`0`2`0`0`2`0`0
c=c-1;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`2`0`0`2`0`0
if(ch==A[i])`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`3`0`0`0`1`0`0`0`0`0`0`4`0`4`0`0`0`1`0`0`1`0`0
break;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0
for(i=0;i<b;i++)`FunctionDecl,false;IfStmt,false;ForStmt,false;`1`0`1`0`0`0`0`0`1`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
for(j=0;j<c;j++)`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;`1`0`2`0`0`0`0`0`1`0`0`0`4`0`3`4`1`1`0`0`1`0`0`0`1`0`4`0`4`0`0`0`2`1`0`3`0`0
if(B[i]==C[j])`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`4`0`0`0`1`0`0`0`0`0`0`6`0`6`0`0`0`1`0`0`1`0`1
ch=C[j];`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`3`0`0`0`0`0`0`0`0`0`0`4`0`4`0`0`0`1`0`0`1`0`1
d=d+1;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`2`0`0`2`0`0
for(k=j;k<c-1;k++)`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;ForStmt,false;`1`0`3`0`0`0`0`0`2`0`0`0`6`0`5`5`1`1`0`0`1`0`0`0`1`0`5`0`5`0`0`0`3`1`0`4`0`0
C[k]=C[k+1];`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;ForStmt,false;`1`0`3`0`0`0`0`0`2`0`0`0`6`0`5`4`1`1`0`0`0`0`0`0`0`0`6`0`6`0`0`0`2`0`0`2`0`0
c=c-1;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`2`0`0`2`0`0
if(ch==B[i])`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`3`0`0`0`1`0`0`0`0`0`0`4`0`4`0`0`0`1`0`0`1`0`0
break;`FunctionDecl,false;IfStmt,false;ForStmt,false;ForStmt,false;IfStmt,false;`1`0`2`0`0`0`0`0`2`0`0`0`5`0`4`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0
if(d==a+b)`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`1`3`0`0`0`1`0`0`0`0`0`0`3`0`3`0`0`0`2`0`0`2`0`0
cout<<"YES";`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`1`1`1`0`1`0`0`0`0`0`0`0`2`0`2`0`0`0`0`0`0`0`0`0
cout<<"NO";`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`1`1`1`0`1`0`0`0`0`0`0`0`2`0`2`0`0`0`0`0`0`0`0`0
return 0;`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