Use npm version 12
package.json
: update exercise name
{
"currentExercise": "2020-training"
}
If running on windows, prefix all npm targets with win:
Example:
npm run win:graph:serve
Start TS Code watch (build automatically when code changes)
npm run watch
npm run graph:watch
(and open http://127.0.0.1:8080)
npm run graph:serve
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
- share common understanding of exercise
- modelize basic input
- modelize output
- modelize score calculation
- modelize dumb generator
- in parallel:
- code input
- code output
- code dumb generator
- submit to judge system
- modelize advanced generator
4. modelize intermediate advanced input
- define different steps (ex: remove one dimension in inputs)
- iterate...