Giter Site home page Giter Site logo

hashcode2020's Introduction

Hash Code 2020

This is a solution for Google's Hash Code 2020 competition.

The Experience

This is my first coding competition as I've never had the urge to try it. But a friend wanted to try it so we formed a two member team and decided to have fun.

There isn't a lot of time: 4h to read and understand the problem, write the code, submit it and iterate on the idea.

The code produces the final score of 22.709.246 points. For comparison, the winner of 4 hours of competition produces 27.203.691 points.

All in all, we had fun :)

The Code and Data

Written using latest Python 3 at the time (3.8.1), but any could be easily modified to run on any python.

A single input file can be processed with:

./books.py input-file > output-file

Run all input files with:

./runall.sh

which will process all input files from data directory and write result files to output.

The Team

  1. Igor Lulić - the math guy
  2. Sasha Matijasic - me, the coding guy

Licence

The code is licensed under MIT licence.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.