c-plus-plus / test /3081940.cpp.csv
ReySajju742's picture
Add files using upload-large-folder tool
2ab7a4a 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
part e[55] ;`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
int n , i , b[100] , max ;`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
scanf("%d",&n);`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`1`1`0`1`0`0`0`0`0`0`0`2`0`2`1`0`1`0`1`0`1`0`0
for(i=0;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("%s%d%d%d%d%d%d%d",e[i].s ,& e[i].plus,& e[i].minus,& e[i].a ,& e[i].b ,& e[i].c,& e[i].d,& e[i].e) ;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`16`1`0`1`0`0`0`0`0`0`0`17`0`17`7`0`1`0`7`0`7`8`0
for(i=0;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
b[i] = 0 ;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`2`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`1`0
b[i] = e[i].plus - e[i].minus + e[i].a + e[i].b + e[i].c + e[i].d + e[i].e ;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`16`0`0`0`0`0`0`0`0`0`0`16`0`16`0`0`0`7`0`0`7`8`1
max = 0 ;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`1`1`1`0`0`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`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
if(b[i]>=b[max])`FunctionDecl,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`1`0`0`0`3`0`2`4`0`0`0`1`0`0`0`0`0`0`4`0`4`0`0`0`1`0`0`1`2`0
max = i ;`FunctionDecl,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`1`0`0`0`3`0`2`2`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`1`0`0`1`0`0
printf("%s\n",e[max].s);`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`1`1`0`1`0`0`0`0`0`0`0`2`0`2`0`0`1`0`0`0`0`1`0