A node application to create a code file from onlile judge url.
ojToFile requires NodeJS 6+ to work. clone the project to your system and run below command to install all the dependencies.
npm install
node ojToFile.js -u "https://community.topcoder.com/stat?c=problem_statement&pm=14591"
Flag | Description | Remarks |
---|---|---|
--url, -u | url of the problem | [required] |
--lang, -l | file format (c , cpp , java , py) | [default: "cpp"] |
--save-path, -s | path to save the output file | [string] [default: "./"] |
--help | Show help | [boolean] |