File size: 3,012 Bytes
2ab7a4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 iGirlsLeft, iGirlsRight;`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`2`0`1`3`0`0`0`0`0`0`0`0`0
        int iBoysLeft, iBoysRight;`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`2`0`1`3`0`0`0`0`0`0`0`0`0
        int iMinGuysRight, iMaxGuysRight;`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`2`0`1`3`0`0`0`0`0`0`0`0`0
        int iMinGuysLeft, iMaxGuysLeft;`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`2`0`1`3`0`0`0`0`0`0`0`0`0
        cin >> iGirlsLeft >> iGirlsRight;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`0`0`0`0`0`0`0`0`0`0`5`0`5`0`0`0`0`0`0`0`0`0
        cin >> iBoysLeft >> iBoysRight;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`0`0`0`0`0`0`0`0`0`0`5`0`5`0`0`0`0`0`0`0`0`0
        iMinGuysRight = ( iGirlsLeft > 1 )? iGirlsLeft-1 : 1;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`3`3`0`0`0`0`0`0`0`0`3`0`3`0`0`0`3`0`0`3`0`0
        iMaxGuysRight = ( iGirlsLeft > 1 )? 2 * (iGirlsLeft+1) : 1;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`4`4`0`0`0`0`0`0`0`0`3`0`3`0`0`0`4`0`0`4`0`1
        iMinGuysLeft = ( iGirlsRight > 1 )? iGirlsRight-1 : 1;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`3`3`0`0`0`0`0`0`0`0`3`0`3`0`0`0`3`0`0`3`0`0
        iMaxGuysLeft = ( iGirlsRight > 1 )? 2 * (iGirlsRight+1) : 1;`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`3`4`4`0`0`0`0`0`0`0`0`3`0`3`0`0`0`4`0`0`4`0`1
        if ( iBoysLeft >= iMinGuysLeft && iBoysLeft <= iMaxGuysLeft )`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`4`0`0`0`1`0`0`0`0`0`0`4`0`4`0`0`0`3`0`0`3`0`0
                cout << "YES" << endl;`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`1`1`0`1`0`0`0`0`0`0`0`4`0`4`0`0`0`0`0`0`0`0`0
        else if ( iBoysRight >= iMinGuysRight && iBoysRight <= iMaxGuysRight )`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`6`4`0`0`0`1`0`0`0`0`0`0`4`0`4`0`0`0`3`0`0`3`0`0
                cout << "YES" << endl;`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`6`1`1`0`1`0`0`0`0`0`0`0`4`0`4`0`0`0`0`0`0`0`0`0
                cout << "NO" << endl;`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`6`1`1`0`1`0`0`0`0`0`0`0`4`0`4`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