Skip to content

dimofte/google-code-jams

Repository files navigation

Google Code Jam

Problems

The list of Google Code Jam problems, each solved in the homonym directory:

Usage

To get the output (to be uploaded to problem's page) from the respective input file, execute the yarn start script, with the name of the source directory; e.g. for tidy-numbers:

yarn start oversized-pancake-flipper

It takes files from ./oversized-pancake-flipper/in and outputs into ./oversized-pancake-flipper/out

Note: problem "tidy-numbers" uses a deprecated system (takes data from stdin and outputs to stdout). Use yarn start tidy-numbers < file.in > file.out

Testing

For development purposes, there's jest support. Specific tests can be run like this:

yarn test bathroom-stalls

Or test:watch (see the npm scripts).

About

Fun, fun, Google code jam :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published