Download train/10253595.cpp.csv from ReySajju742/c-plus-plus: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/datasets/ReySajju742/c-plus-plus/resolve/main/train/10253595.cpp.csv
- Command line
-
hf download hf://datasets/ReySajju742/c-plus-plus/train/10253595.cpp.csv
-
curl -L -o 10253595.cpp.csv https://huggingface.co/datasets/ReySajju742/c-plus-plus/resolve/main/train/10253595.cpp.csv
2.66 kB
| 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 | |
| string c;`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 | |
| long long int n=0;`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`1`0`1`2`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 | |
| if(c>"9223372036854775807") {cout<<"BigInteger"; return 0;}`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`3`2`3`1`2`1`0`0`0`0`0`0`4`0`4`0`0`0`0`0`0`0`0`0 | |
| for(int i=0 ; i<c.size() ; i++){`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`3`1`1`0`0`1`0`0`0`1`1`3`1`5`0`0`0`1`1`0`2`0`1 | |
| n=n*10; n+=c[i]-'0';`FunctionDecl,false;ForStmt,false;`1`0`1`0`0`0`0`0`0`0`0`0`2`0`1`5`2`1`0`0`0`0`0`0`0`0`6`0`6`0`0`0`3`0`1`4`0`0 | |
| if(n>0){`FunctionDecl,false;IfStmt,false;`1`0`0`0`0`0`0`0`1`0`0`0`2`0`1`1`1`1`0`1`0`0`0`0`0`0`1`0`1`0`0`0`1`0`0`1`0`0 | |
| if(n<=127) {cout<<"byte" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`3`0`3`0`0`0`1`0`0`1`0`0 | |
| if(n<=32767) {cout<<"short" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`3`0`3`0`0`0`1`0`0`1`0`0 | |
| if(n<=2147483647) {cout<<"int" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`3`0`3`0`0`0`1`0`0`1`0`0 | |
| if(abs(n)<=128) {cout<<"byte" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`4`0`4`0`0`1`1`0`0`1`0`0 | |
| if(abs(n)<=32768) {cout<<"short" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`4`0`4`0`0`1`1`0`0`1`0`0 | |
| if(abs(n)<=2147483648) {cout<<"int" ; return 0;}`FunctionDecl,false;IfStmt,false;IfStmt,false;`1`0`0`0`0`0`0`0`2`0`0`0`3`0`2`2`3`2`1`1`0`0`0`0`0`0`4`0`4`0`0`1`1`0`0`1`0`0 | |
| cout<<"long";`FunctionDecl,false;`1`0`0`0`0`0`0`0`0`0`0`0`1`0`0`1`0`0`0`0`0`0`0`0`0`0`2`0`2`0`0`0`0`0`0`0`0`0 | |