Skip to content

Scrapes and tests fastly everything from the CodeForces contest so you don't waste your precious time

License

Notifications You must be signed in to change notification settings

vitorfhc/goforces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoForces

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.

Get GoForces

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

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.

Example

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
...

Built With

  • GoLang - The coding language used
  • Colly - The scraper which I hated the documentation
  • Cobra - The tool for creating the CLI

Contributing

If you want to contribute to the project please read CONTRIBUTING

Authors

  • Vitor Falcão - The only one who wants to do this job - vitorfhc

License

This project is licensed under the GPL-3.0 - see the LICENSE.md file for details

About

Scrapes and tests fastly everything from the CodeForces contest so you don't waste your precious time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages