GoForces is a tool to easily set all you need to start a contest from CodeForces as fast as possible. For now it also makes some basic comparison for testing your code.
If you want to install GoForces all you need is to have GoLang installed and it is pretty easy.
Then you need to clone this repository and run the following commands:
go get && go install
Usage:
goforces [flags]
goforces [command]
Available Commands:
help Help about any command
scrape Scrapes a contest or a problem
test Takes an executable and tests it with the input files
Flags:
-h, --help help for goforces
Use "goforces [command] --help" for more information about a command.
This command will scrape all the contest's problems and save each input and output in text files.
goforces scrape 1296
You will have now this folder structure:
1296/
├── A
│ ├── input-1.txt
│ └── output-1.txt
├── B
│ ├── input-1.txt
│ └── output-1.txt
├── C
│ ├── input-1.txt
│ └── output-1.txt
...
- GoLang - The coding language used
- Colly - The scraper which I hated the documentation
- Cobra - The tool for creating the CLI
If you want to contribute to the project please read CONTRIBUTING
- Vitor Falcão - The only one who wants to do this job - vitorfhc
This project is licensed under the GPL-3.0 - see the LICENSE.md file for details