File size: 2,929 Bytes
7ab4270 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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 r1, r2, c1, c2, d1, d2, a1, a2, a3, a4;`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`10`0`1`11`0`0`0`0`0`0`0`0`0
cin >> r1 >> r2 >> c1 >> c2 >> d1 >> d2;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`7`0`0`0`0`0`0`0`0`0`0`13`0`13`0`0`0`0`0`0`0`0`0
if (r1 + r2 != c1 + c2 || r1 + r2 != d1 + d2)`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`8`0`0`0`1`0`0`0`0`0`0`8`0`8`0`0`0`7`0`0`7`0`0
cout << -1;`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`1`1`1`0`0`0`0`0`0`0`0`2`0`2`0`0`0`0`1`0`1`0`0
return 0;`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`0`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0
forn(i, 9)`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`0`2`2`2`0`0`1`0`0`0`1`1`2`1`4`0`0`0`1`1`0`2`0`0
a1 = i;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`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
a2 = r1 - a1;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`0`3`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`2`0`0`2`0`0
a3 = c1 - a1;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`0`3`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`2`0`0`2`0`0
a4 = r2 - a3;`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`0`3`0`0`0`0`0`0`0`0`0`0`3`0`3`0`0`0`2`0`0`2`0`0
if (a2 + a4 == c2 && a1 + a4 == d1 && a2 + a3 == d2)`FunctionDecl,false;ForStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`1`0`0`0`3`0`5`9`0`0`0`1`0`0`0`0`0`0`9`0`9`0`0`0`8`0`0`8`0`0
if ((a1 != a2 && a1 != a3 && a1 != a4 && a2 != a3 && a3 != a4) && (a1 < 10 && a1 > 0 && a2 < 10 && a2 > 0 && a3 < 10 && a3 > 0 && a4 < 10 && a4 > 0))`FunctionDecl,false;ForStmt,false;IfStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`2`0`0`0`4`0`32`18`8`8`0`1`0`0`0`0`0`0`18`0`18`0`0`0`25`0`0`25`0`1
cout << a1 << " " << a2 << "\n" << a3 << " " << a4;`FunctionDecl,false;ForStmt,false;IfStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`2`0`0`0`4`0`32`5`3`0`3`0`0`0`0`0`0`0`12`0`12`0`0`0`0`0`0`0`0`0
return 0;`FunctionDecl,false;ForStmt,false;IfStmt,false;IfStmt,false;`1`0`1`0`0`0`0`0`2`0`0`0`4`0`32`0`1`1`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0`0
cout << -1;`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`2`0`2`0`0`0`0`1`0`1`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
|