Repository containing our solutions for Google Hash Code 2019.
-
Clone the repo:
git clone https://github.com/marcofavorito/google-hashcode-2020.git
-
Create the virtual environment. It requires Pipenv:
pipenv shell --python=python3.7
-
Install the dependencies:
pipenv install --dev pip install .
-
Usage
python -m hashcode20 --alg ${ALGORITHM} < input_file > output_file
It expects input in
stdin
and prints output instdout
. -
To compute the solutions for every data in
data/*.in
:./scripts/run.sh ${ALGORITHM}
Details about the submission in the SUBMISSION
file, generated by the run.sh
script.
It will provide details about the chosen algorithm alg
, which will correspond to the
module::function hashcode20/sol/${alg}::main