DSC-Sapienza / Google-Hash-Code-Practice-Round

Google Hash Code 2021 practice problem with 724.682.827 score.

Repository from Github https://github.comDSC-Sapienza/Google-Hash-Code-Practice-RoundRepository from Github https://github.comDSC-Sapienza/Google-Hash-Code-Practice-Round

Google-Hash-Code-Practice-Round

Our naive solution for the Practice Round.

Main idea

This solution proposes to first select the largest team that can be served with the current amount of pizzas, then greedily selecting the pizzas whose toppings are the least overlapping.

Usage

python3 prova_pizza_hashcode.py

Score

hashcode2020_score

Authors

N.B: Alphabetical order <--> fair contribution

About

Google Hash Code 2021 practice problem with 724.682.827 score.


Languages

Language:Python 100.0%