Skip to content

jpdurot/google-hashcode

Repository files navigation

Hashcode 2020

How to

Prerequisites

Use npm version 12

Configure competition

package.json: update exercise name

{
  "currentExercise": "2020-training"
}

Windaube

If running on windows, prefix all npm targets with win: Example:

npm run win:graph:serve

Build solution

Start TS Code watch (build automatically when code changes)

npm run watch

Update graphs

npm run graph:watch

(and open http://127.0.0.1:8080)

Serve graphs

npm run graph:serve

RUN!!

Launch the calculation, providing the generator name

npm run go -- -g random

All files will be imported, unless you provide one or many specific filenames (basename)

Ex:

npm run go -- -g random -f kittens.in -f me_at_the_zoo.in

If competition is set to 2020-training, will read input files from:

dist/competitions/2020-training/input

and write solution files to

dist/competitions/2020-training/output

Strategy

  1. share common understanding of exercise
  2. modelize basic input
  3. modelize output
  4. modelize score calculation
  5. modelize dumb generator
  6. in parallel:
    1. code input
    2. code output
    3. code dumb generator
  7. submit to judge system
  8. modelize advanced generator 4. modelize intermediate advanced input
    1. define different steps (ex: remove one dimension in inputs)
  9. iterate...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published